zsh: add <> autopairs
This commit is contained in:
parent
1a7ae13176
commit
4d2b9a0d14
|
@ -13,11 +13,13 @@ bindkey -M viins "'" autopair-insert-or-skip
|
||||||
bindkey -M viins '(' autopair-insert
|
bindkey -M viins '(' autopair-insert
|
||||||
bindkey -M viins '[' autopair-insert
|
bindkey -M viins '[' autopair-insert
|
||||||
bindkey -M viins '{' autopair-insert
|
bindkey -M viins '{' autopair-insert
|
||||||
|
bindkey -M viins '<' autopair-insert
|
||||||
bindkey -M viins '^?' autopair-delete # smart backspace
|
bindkey -M viins '^?' autopair-delete # smart backspace
|
||||||
|
|
||||||
bindkey -M viins ')' autopair-skip
|
bindkey -M viins ')' autopair-skip
|
||||||
bindkey -M viins ']' autopair-skip
|
bindkey -M viins ']' autopair-skip
|
||||||
bindkey -M viins '}' autopair-skip
|
bindkey -M viins '}' autopair-skip
|
||||||
|
bindkey -M viins '>' autopair-skip
|
||||||
|
|
||||||
bindkey -M viins '^n' history-substring-search-down
|
bindkey -M viins '^n' history-substring-search-down
|
||||||
bindkey -M viins '^p' history-substring-search-up
|
bindkey -M viins '^p' history-substring-search-up
|
||||||
|
|
Loading…
Reference in a new issue