Daniel Siepmann
d87b854c49
Add blank line before zsh prompt
...
This allows to easily switch to tmux copy mode and navigate between
paragraphs / prompts and results. As long as the output doesn't have
additional blank lines.
2023-03-08 10:03:44 +01:00
Daniel Siepmann
d91385f15e
Revert "Use tmux popup for fzf in zsh complection"
...
This reverts commit b929c17ace
.
As I don't like the small interrupt.
Also I don't like to have the same setup in this case. I prefer to keep
focus on the input and therefore seeing suggestions right there.
2023-03-06 18:30:21 +01:00
Daniel Siepmann
b929c17ace
Use tmux popup for fzf in zsh complection
...
To have a single setup
2023-03-06 18:21:52 +01:00
Daniel Siepmann
df544f1e9e
Add fzf-tab plugin for ZSH
...
Use fzf as autocompletion wrapper for zsh autocompletion
2023-03-02 12:18:46 +01:00
Daniel Siepmann
5200ed955f
Remove unnecessary config line
...
This is auto added as completion is enabled via home manager.
2023-03-02 12:18:29 +01:00
Daniel Siepmann
dc3120fab4
Remove custom zsh history bindings
...
As fzf is now enabled and provides mappings.
Re mapping ^r will replace fzf with own definition preventing fzf from
working.
2023-03-01 16:49:58 +01:00
Daniel Siepmann
ca56b18b8f
Color zsh prompt depending on shell
...
Make yellow if within nix subshell.
Allows to run nix-shell --run zsh to have a zsh shell within nix shell.
Default shell is kept blue.
2023-02-18 11:19:29 +01:00
Daniel Siepmann
75fd0a2896
Remove none available zsh completion
2023-01-04 15:45:52 +01:00
Daniel Siepmann
6867dcb796
Adjust zsh completion
...
Accordingly to https://thevaluable.dev/zsh-completion-guide-examples/
2023-01-03 08:43:05 +01:00
Daniel Siepmann
4ae85c6ef4
Properly handle zsh config
...
Move nix specifics to nix file.
Remove nix specific escaping from zshrc file.
Add some comments to zshrc file.
2023-01-03 08:06:26 +01:00
Daniel Siepmann
69ce2af88d
Add further text objects to zsh
...
From: https://thevaluable.dev/zsh-install-configure-mouseless/
2023-01-03 07:59:00 +01:00
Daniel Siepmann
65bb378894
Allow to navigate zsh autocompletion with vim keys
...
From: https://thevaluable.dev/zsh-install-configure-mouseless/
2023-01-03 07:58:49 +01:00
Daniel Siepmann
05e0d67e1a
Move zshrc extra to own file
...
This allows for proper syntax highlighting
This also prevents the need for escaping
2023-01-03 07:57:46 +01:00