mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-07-17 08:09:35 +00:00
refactor: simplify fish prompt and configs
This commit is contained in:
parent
fddae3ba36
commit
7da5ead1ed
32 changed files with 139 additions and 1156 deletions
12
.config/fish/conf.d/key_binds.fish
Normal file
12
.config/fish/conf.d/key_binds.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
if status is-interactive
|
||||
set --global fish_key_bindings fish_vi_key_bindings
|
||||
|
||||
bind --mode insert comma,a 'ssh_add; commandline -f repaint'
|
||||
bind --mode insert .,comma 'nvim; commandline -f repaint'
|
||||
bind --mode insert comma,z 'zi; commandline -f repaint'
|
||||
bind --mode insert comma,f fzf-file-widget
|
||||
bind --mode insert comma,r fzf-history-widget
|
||||
bind --mode insert comma,c fzf-cd-widget
|
||||
bind --mode insert comma,l 'clear; commandline -f repaint'
|
||||
bind --mode insert comma,o 'opencode; commandline -f repaint'
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue