druckdev
a285fe2a1c
zsh:p10k: Disable time on right side
2020-09-23 02:44:01 +02:00
druckdev
04ea8e9a89
zsh: Cleanup conf() a bit
...
Add more editor fallback values.
Cleanup comments and fix indentation.
Do not check for existence of specified config file. (Since the config
file can now be created that way)
"Downgrade" all file checks for readability to checks for existence,
since this should be handled on the editor layer.
2020-09-23 02:36:11 +02:00
druckdev
95300f221c
zsh: Remove remnant from d5dda4d
...
Forgot to remove the source of zsh-history-substring-search in d5dda4d .
2020-09-22 01:23:28 +02:00
druckdev
0788926c8c
zsh: Autoload big functions
2020-09-22 00:28:28 +02:00
druckdev
16896efa02
Replace cformat() with a clang-format wrapper
...
Replace the function with extra functionality with a wrapper for
clang-format that looks for the style flag and substitutes a given
filename with its parsed content.
2020-09-21 22:51:03 +02:00
druckdev
fdfa8a5f8a
Cleanup zsh functions and add unbkp()
...
Add unbkp() that reverses bkp().
Use shorter zsh syntax for disowning a background job.
Add usage string to mangrep.
Expect clang-format config to be in XDG_CONFIG_HOME. Add functionality
of comments.
Use `command` where we want a command to be taken as external.
2020-09-21 18:06:55 +02:00
druckdev
da90d3f744
Deactivate sorting in fzf when using glog
2020-09-21 17:44:45 +02:00
druckdev
253501a230
Add git-submodule-rm
...
Add function git-submodule-rm that deinits and removes a submodule from
a git repo.
2020-09-13 17:14:50 +02:00
druckdev
9151969cab
Remove -m flag from git commit alias
...
Meanwhile I am often writing longer commit messages instead of oneliner.
2020-09-13 04:48:23 +02:00
druckdev
e792461a20
Do not export zsh internal variables
2020-09-13 04:36:52 +02:00
druckdev
72f6d50546
Cleanup glog
...
Use associative array for keybinds (just looks a little bit better).
Create array for the fzf arguments.
2020-09-10 05:53:32 +02:00
druckdev
a985873b25
Exit glog if not in git repo
2020-09-04 09:44:45 +02:00
druckdev
292b45aefb
Rename and add comment
...
Rename onelineformat to formatshort to keep one continuous format
(dateshort).
2020-08-31 02:29:29 +02:00
druckdev
9a2e52e51b
glog format improvement
...
Show less information in the fzf list view (for smaller
displays/terminals).
Customize the format of the preview window that now contains almost all
information and colors.
Use single quotes where no variables are used.
2020-08-31 02:24:21 +02:00
druckdev
a74723fea6
Add glog keybindings
2020-08-29 23:23:12 +02:00
druckdev
1334803f40
Fix typo
2020-08-28 02:41:44 +02:00
druckdev
91080dd6d6
Improve glog alias by creating a function for it
...
Improve glog alias by creating a function for it that uses fzf to
directly preview the full commit using git-show. The function also
allows to select one of the commits and putting its abbreviated commit
hash into the clipboard.
2020-08-28 02:33:38 +02:00
druckdev
99e57230e5
Update submodules
...
Update p10k to v1.12.0.
Update tmux-{continuum,resurrect}, fzf, zsh-syntax-highlighting and
dotbot to the latest master commit.
2020-08-25 05:08:29 +02:00
druckdev
11be8376ae
Add description to filterHistory script
...
Add author, date and description to the filterHistory script.
Fix other author and date notes formatting.
2020-08-25 04:23:57 +02:00
druckdev
7d68990051
Put ls into BUFFER instead of printing it
...
Before, syntax-highlighting did not trigger and the fake ls was ugly.
2020-08-22 16:25:25 +02:00
druckdev
ea5ec6b865
Check termcap before putting in application mode
2020-08-22 16:24:49 +02:00
druckdev
bcd23681ce
List open files when unmount fails
2020-08-22 16:21:37 +02:00
druckdev
1ca16d248d
Add conf completion for programs in HOME
2020-08-20 00:53:26 +02:00
druckdev
c1315bd693
Fix name clashing
...
Fix name clashing of batter alias with bat the cat replacement
2020-08-20 00:20:21 +02:00
druckdev
7ae6b2189d
Make p10ks instant prompt quiet
2020-08-19 21:55:51 +02:00
druckdev
9f86f2dc08
Fix typo
2020-08-19 21:55:16 +02:00
druckdev
c456216e6b
Add binding for fzf-history-widget
2020-08-19 21:53:37 +02:00
druckdev
d5dda4d353
Replace zsh-history-substring-search with fzf
...
Replace the zsh-history-substring-search plugin with fzf by adding a
function that starts the fzf-history-widget when pressing <Up> with a
nonempty BUFFER. The widget then uses the buffer automatically as query
for fzf.
2020-08-19 21:51:47 +02:00
druckdev
8bcc737030
Add plugin fzf-tab
2020-08-06 03:42:26 +02:00
druckdev
44d8de0efe
Removed unnecesary brackets
2020-08-05 23:56:42 +02:00
druckdev
83bfec7bbf
Update submodules
...
Update dotbot to v1.17.1
Update zsh-async to v1.8.3
Update zsh-syntax-highlighting to latest commit (2d60a47cc)
2020-08-04 05:54:15 +02:00
druckdev
be3e217231
Check for certain commands before using
...
Check for existence of certain commands like nvim before using them in
aliases or env vars like EDITOR.
2020-08-04 04:49:30 +02:00
druckdev
066d8e9f0e
Make adding to PATH safer
2020-08-04 04:39:00 +02:00
druckdev
5771a7d18f
Create zsh_history location if nonexistent
2020-08-04 04:14:48 +02:00
druckdev
f5259b5505
Add fuzzy finder
...
Add fzf as submodule.
Source it keybindings and completion files.
Adjust dotbot install config to pull fzf binary.
Add symlink to its binary.
2020-08-04 02:54:05 +02:00
druckdev
074ea3382a
Add .local/bin to PATH
2020-08-04 02:51:36 +02:00
druckdev
4a99abf72d
Do not hardcode vim path
2020-08-03 23:53:14 +02:00
druckdev
e8eaec0798
Add function for safe removal of external HDDs
...
Add zsh function that can be used for safely removing external HDDs
since only unmounting them will not make them stop spinning.
2020-07-31 16:41:57 +02:00
druckdev
158a1c757d
Execute ls when enter is pressed with empty buffer
2020-07-31 16:38:38 +02:00
druckdev
a9955af675
Add git log alias
...
Add alias that displays git log in a colored graph
2020-07-31 16:36:17 +02:00
druckdev
3e87ce3fb6
Set zsh option
...
Substitute aliases internally before completion.
2020-07-31 16:35:02 +02:00
druckdev
6e9dc46fab
Add loading of direnv
2020-07-03 02:07:16 +02:00
druckdev
843d51b415
Fix bug that occurs when dirs contain spaces
...
When one of the parent directories contain spaces, the zle -M gets to
many arguments and complains. Quoting them solves this bug.
2020-07-03 01:59:16 +02:00
druckdev
da474b7899
Whitespace changes
...
Delete unnecessary indentation and convert all spaces to tabs.
2020-06-30 04:10:47 +02:00
druckdev
a180a09f6f
Make sure that the terminfo values are valid
2020-06-30 03:54:42 +02:00
druckdev
2ab21674b0
Switch cursor style depending on keymap
2020-06-30 03:44:11 +02:00
druckdev
658698f66d
Remove not properly working selection bindings
2020-06-30 03:15:10 +02:00
druckdev
dad05f4d68
Autoload and bind run-help
2020-06-30 03:08:36 +02:00
druckdev
e8b8c27369
No duplicate completion for diff programs
2020-06-30 03:07:00 +02:00
druckdev
d50eb4a506
Reworked zsh options
...
Add and rephrased option comments.
unset CDABLE_VARS since it only works with cd and thus leads to problems
when trying to use the notation with other programs (since it became a
habit)
Set new options.
2020-06-30 03:04:22 +02:00