From 2a8dc81800de5701d173969d619c1f1ce4f3c7dd Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Fri, 3 Jan 2025 23:26:23 +0400 Subject: zshrc: ctrl-v keybind to rerun the last command --- config/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/zsh/zshrc b/config/zsh/zshrc index e508f80..4afbbc1 100755 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -66,7 +66,7 @@ setopt HIST_FIND_NO_DUPS # Don't show duplicate commands when backward searchin bindkey '^R' history-incremental-search-backward bindkey -s '^o' '^ulfcd\n' bindkey -s '^f' '^ucd "$(dirname "$(fzf --reverse)")"\n' -# bindkey -s '^v' '^uvi "$(fzf --reverse)"\n' +bindkey -s '^v' '^u!!\n' if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ];then source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" -- cgit v1.2.3