mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Update fish_vi_key_bindings.fish
This commit is contained in:
parent
0fe949b385
commit
401ca13f20
1 changed files with 6 additions and 0 deletions
|
@ -262,6 +262,12 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
|
||||||
bind -s --preset -M replace_one -m default escape cancel repaint-mode
|
bind -s --preset -M replace_one -m default escape cancel repaint-mode
|
||||||
bind -s --preset -M replace_one -m default ctrl-\[ cancel repaint-mode
|
bind -s --preset -M replace_one -m default ctrl-\[ cancel repaint-mode
|
||||||
|
|
||||||
|
#
|
||||||
|
# increment or decrement numbers with ctrl+x ctrl+a
|
||||||
|
#
|
||||||
|
bind -s --preset -M default \ca '__fish_inc_dec_number_under_cursor increase'
|
||||||
|
bind -s --preset -M default \cx '__fish_inc_dec_number_under_cursor decrease'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Uppercase R, enters replace mode
|
# Uppercase R, enters replace mode
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue