From: Ben Beltran Date: Sun, 24 May 2020 22:53:59 +0000 (+0200) Subject: Merge branch 'master' of gitlab.com:rbdr/dotfiles X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/0beb5ea29e9d920085fb5afb344dc65faaea9a1a?hp=c3de6b2bd1fdf34b659ec16622045cab560a268e Merge branch 'master' of gitlab.com:rbdr/dotfiles --- diff --git a/zsh/modules/editor.zsh b/zsh/modules/editor.zsh index 8bc4dae..9f0da4b 100644 --- a/zsh/modules/editor.zsh +++ b/zsh/modules/editor.zsh @@ -131,9 +131,11 @@ bindkey -M vicmd "u" undo bindkey -M vicmd "$key_info[Control]R" redo if (( $+widgets[history-incremental-pattern-search-backward] )); then + bindkey '^R' history-incremental-pattern-search-backward bindkey -M vicmd "?" history-incremental-pattern-search-backward bindkey -M vicmd "/" history-incremental-pattern-search-forward else + bindkey '^R' history-incremental-search-backward bindkey -M vicmd "?" history-incremental-search-backward bindkey -M vicmd "/" history-incremental-search-forward fi