Fixed ordering for vim zsh bindings

This commit is contained in:
Joachim Nielandt 2023-06-08 10:58:02 +02:00
parent 0c542bbfda
commit 73b2c72eb0
2 changed files with 18 additions and 14 deletions

View File

@ -26,3 +26,7 @@ set relativenumber
" show syntax highlighting (this might be superfluous with the above...)
" syntax on
" modify timeouts for key mapping and codes
" set timeoutlen=3000
" set ttimeoutlen=100

View File

@ -51,20 +51,6 @@ setopt notify
# Beep on error
unsetopt beep
# Bindings
bindkey -v
# This fixed "can't backspace after switching from normal to insert mode"
bindkey -v '^?' backward-delete-char
# must be after -v
# enable backwards search with ctrl-r
bindkey '^R' history-incremental-search-backward
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/joachim/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# load zgenom
source "${HOME}/.zgenom/zgenom.zsh"
@ -131,6 +117,20 @@ export PATH=$HOME/scripts:$PATH
# set firefox as default browser
xdg-settings set default-web-browser firefox.desktop
# Bindings
bindkey -v
# This fixed "can't backspace after switching from normal to insert mode"
bindkey -v '^?' backward-delete-char
# must be after -v
# enable backwards search with ctrl-r
bindkey '^R' history-incremental-search-backward
# The following lines were added by compinstall
zstyle :compinstall filename '/home/joachim/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# this supposedly fixes the slow pasting into shell
# zstyle ':bracketed-paste-magic' active-widgets '.self-*'