zsh vi mode upd
This commit is contained in:
parent
d6124155b6
commit
6586a386af
@ -19,13 +19,12 @@ bindkey -M viins 'jk' vi-cmd-mode
|
|||||||
bindkey ' ' magic-space # do history expansion on space
|
bindkey ' ' magic-space # do history expansion on space
|
||||||
bindkey '^[[3;5~' kill-word # ctrl + Supr
|
bindkey '^[[3;5~' kill-word # ctrl + Supr
|
||||||
bindkey '^[[3~' delete-char # delete
|
bindkey '^[[3~' delete-char # delete
|
||||||
bindkey '^[[1;5C' forward-word # ctrl + ->
|
|
||||||
bindkey '^[[1;5D' backward-word # ctrl + <-
|
|
||||||
bindkey '^[[5~' beginning-of-buffer-or-history # page up
|
bindkey '^[[5~' beginning-of-buffer-or-history # page up
|
||||||
bindkey '^[[6~' end-of-buffer-or-history # page down
|
bindkey '^[[6~' end-of-buffer-or-history # page down
|
||||||
bindkey '^[[H' beginning-of-line # home
|
bindkey '^[[H' beginning-of-line # home
|
||||||
bindkey '^[[F' end-of-line # end
|
bindkey '^[[F' end-of-line # end
|
||||||
bindkey '^[[Z' undo # shift + tab undo last action
|
bindkey '^[[Z' undo # shift + tab undo last action
|
||||||
bindkey '^K' up-line-or-history
|
bindkey '^U' kill-whole-line
|
||||||
bindkey '^J' down-line-or-history
|
bindkey -M vicmd '^U' kill-whole-line
|
||||||
|
bindkey -M viins '^U' kill-whole-line
|
||||||
bindkey -M viins '\e.' insert-last-word
|
bindkey -M viins '\e.' insert-last-word
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user