zsh keybindings
This commit is contained in:
parent
399f0254d4
commit
11624cffb6
8
.zshrc
8
.zshrc
@ -19,7 +19,7 @@ WORDCHARS=${WORDCHARS//\/} # Don't consider certain characters part of the word
|
||||
# hide EOL sign ('%')
|
||||
PROMPT_EOL_MARK=""
|
||||
|
||||
# configure key keybindings
|
||||
# configure key keybindings - Identify keys with: sudo showkey -a
|
||||
bindkey -e # emacs key bindings
|
||||
bindkey ' ' magic-space # do history expansion on space
|
||||
bindkey '^U' backward-kill-line # ctrl + U
|
||||
@ -29,8 +29,10 @@ bindkey '^[[1;5C' forward-word # ctrl + ->
|
||||
bindkey '^[[1;5D' backward-word # ctrl + <-
|
||||
bindkey '^[[5~' beginning-of-buffer-or-history # page up
|
||||
bindkey '^[[6~' end-of-buffer-or-history # page down
|
||||
bindkey "${terminfo[khome]}" beginning-of-line # home
|
||||
bindkey "${terminfo[kend]}" end-of-line # end
|
||||
bindkey "^[[H" beginning-of-line # home
|
||||
bindkey "^[[1~" beginning-of-line # home
|
||||
bindkey "^[[4~" end-of-line # end
|
||||
bindkey "^[[F" end-of-line # end
|
||||
bindkey '^[[Z' undo # shift + tab undo last action
|
||||
|
||||
# enable completion features
|
||||
|
Loading…
x
Reference in New Issue
Block a user