Make zsh word movement keys work more like Emacs
This commit is contained in:
parent
4b938b24df
commit
47737fd93c
1 changed files with 6 additions and 1 deletions
|
@ -89,7 +89,8 @@
|
|||
(environment-variables
|
||||
'(("HISTFILE" . "$HOME/.zsh/histfile")
|
||||
("HISTSIZE" . "1000")
|
||||
("SAVEHIST" . "1000")))
|
||||
("SAVEHIST" . "1000")
|
||||
("WORDCHARS" . "")))
|
||||
(zshrc
|
||||
(list
|
||||
(mixed-text-file
|
||||
|
@ -112,6 +113,10 @@
|
|||
"bindkey -e '^[w' x-copy-region-as-kill\n"
|
||||
"bindkey -e '^W' x-kill-region\n"
|
||||
"bindkey -e '^Y' x-yank\n"
|
||||
"bindkey -e '^[f' emacs-forward-word\n"
|
||||
"bindkey -e '^[F' emacs-forward-word\n"
|
||||
"bindkey -e '^[b' emacs-backward-word\n"
|
||||
"bindkey -e '^[B' emacs-backward-word\n"
|
||||
"autoload -Uz compinit\n"
|
||||
"compinit\n"
|
||||
"function horizontal-rule() {\n"
|
||||
|
|
Loading…
Reference in a new issue