Update zshrc
This commit is contained in:
parent
a4e40969e5
commit
0f7dd2451e
5
zshrc
5
zshrc
|
@ -37,7 +37,7 @@ compinit
|
|||
|
||||
# Search using up/down cursors
|
||||
# https://unix.stackexchange.com/a/285151/185944
|
||||
# Note that the Up and Down shortcuts appear to work in Ubuntu, not in Arch:
|
||||
# TODO: fuzzy search broken
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
|
@ -47,9 +47,8 @@ bindkey "^[[B" down-line-or-beginning-search # down
|
|||
|
||||
# Vim keymap
|
||||
bindkey -v
|
||||
bindkey '^P' up-history
|
||||
bindkey '^N' down-history
|
||||
bindkey '^w' backward-kill-word
|
||||
bindkey '^r' history-incremental-search-backward
|
||||
|
||||
# Other aliases
|
||||
alias c-="cd -"
|
||||
|
|
Loading…
Reference in New Issue