Update zshrc

This commit is contained in:
Rob Watson 2021-04-03 14:44:58 +02:00
parent a4e40969e5
commit 0f7dd2451e
1 changed files with 2 additions and 3 deletions

5
zshrc
View File

@ -37,7 +37,7 @@ compinit
# Search using up/down cursors # Search using up/down cursors
# https://unix.stackexchange.com/a/285151/185944 # 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 up-line-or-beginning-search
autoload -U down-line-or-beginning-search autoload -U down-line-or-beginning-search
zle -N up-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 # Vim keymap
bindkey -v bindkey -v
bindkey '^P' up-history
bindkey '^N' down-history
bindkey '^w' backward-kill-word bindkey '^w' backward-kill-word
bindkey '^r' history-incremental-search-backward
# Other aliases # Other aliases
alias c-="cd -" alias c-="cd -"