AutoYADM commit: 2025-03-28 15:00:17

This commit is contained in:
Daniel Fichtinger 2025-03-28 15:00:17 -04:00
parent d241873ed4
commit 73abdd8bbf
2 changed files with 7 additions and 2 deletions

View file

@ -30,7 +30,7 @@ SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting: SETUVAR fish_greeting:
SETUVAR fish_key_bindings:fish_helix_key_bindings SETUVAR fish_key_bindings:fish_vi_key_bindings
SETUVAR fish_pager_color_background:\x1d SETUVAR fish_pager_color_background:\x1d
SETUVAR fish_pager_color_completion:normal SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2d\x2ditalics SETUVAR fish_pager_color_description:yellow\x1e\x2d\x2ditalics

View file

@ -1,5 +1,10 @@
function fish_user_key_bindings function fish_user_key_bindings
fish_vi_key_bindings fish_vi_key_bindings
bind -M insert ctrl-b backward-word
bind -M insert ctrl-w forward-word
bind -M insert ctrl-d backward-kill-word
bind -M default m backward-char bind -M default m backward-char
bind -M default i forward-char bind -M default i forward-char
bind -m insert h repaint-mode bind -m insert h repaint-mode
@ -10,7 +15,7 @@ function fish_user_key_bindings
bind g,l end-of-buffer bind g,l end-of-buffer
bind U redo bind U redo
bind -m insert ctrl-r history-pager repaint-mode bind -M insert ctrl-r history-pager repaint-mode
bind e up-or-search bind e up-or-search
bind n down-or-search bind n down-or-search
bind l 'set fish_cursor_end_mode exclusive' forward-single-char forward-word backward-char 'set fish_cursor_end_mode inclusive' bind l 'set fish_cursor_end_mode exclusive' forward-single-char forward-word backward-char 'set fish_cursor_end_mode inclusive'