From ba280a36c79ac3ce9a3f41abcd75cb1327e46f75 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Tue, 25 Apr 2023 09:54:20 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B?= =?UTF-8?q?=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D0=B5?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20rustup=20=D0=B8=20ghcup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index df4f2cc..7610c0a 100644 --- a/.zshrc +++ b/.zshrc @@ -28,6 +28,11 @@ SAVEHIST=1000 setopt extendedglob nomatch unsetopt autocd beep bindkey -e +bindkey -v +bindkey '^[[A' up-line-or-search +bindkey '^[[B' down-line-or-search +bindkey '^R' history-incremental-pattern-search-backward +bindkey -M vicmd '^R' history-incremental-pattern-search-backward autoload -Uz compinit zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' compinit -d $XDG_CACHE_HOME/zsh/zcompdump @@ -40,7 +45,7 @@ precmd() { vcs_info } zstyle ':vcs_info:git:*' formats ' (%b)' cdf() { - cd "$(find ~ -type d &>/dev/null | fzf)" + cd "$(find ~ -type d &>/dev/null | fzf)" } set_prompt() { @@ -54,3 +59,4 @@ set_prompt() { PROMPT='%T $UCOLOR%n$STOP@$PURPLE%m$STOP:$BLUE%~$STOP${vcs_info_msg_0_}'$'\n''$END ' } set_prompt + -- cgit v1.2.3