Commit Graph

16 Commits

Author SHA1 Message Date
druckdev
ce10c25a59 zsh:keys: Add vim like text object selection
Add vim like text object selection bindings like ci(, ya", etc..
Copied from softmoth/zsh-vim-mode. Since all the other interesting parts
are already covered (for example by p10k) in my config, sourcing the
entire plugin would not make sense.
2020-10-05 14:56:26 +02:00
druckdev
4cb445c2b5 shell-scripts: Use [[ instead of [ where possible
Replace all occurrences of [ with [[ in bash and zsh scripts and
configs.
Performance wise it makes sense to use the builtin instead of calling an
external command also when from a functionality stand point `test` would
suffice.
2020-10-03 01:29:29 +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
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
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
158a1c757d Execute ls when enter is pressed with empty buffer 2020-07-31 16:38:38 +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
d56da06737 Add terminfo entries for some keybindings
To support the same keybindings under st, use the terminfo entries.
2020-06-25 23:55:35 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00