summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-03 23:26:23 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-03 23:26:23 +0400
commit2a8dc81800de5701d173969d619c1f1ce4f3c7dd (patch)
tree41d0172017f849f39c35c764f405d650b40f9e43
parentdad95c565bdbab5e82a5364308b6f0889b053645 (diff)
zshrc: ctrl-v keybind to rerun the last command
-rwxr-xr-xconfig/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
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"