diff --git a/root/.zshrc b/root/.zshrc index 3c3a837..b1233b4 100644 --- a/root/.zshrc +++ b/root/.zshrc @@ -30,13 +30,8 @@ CASE_SENSITIVE="false" ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line) -MODE_INDICATOR="%F{yellow}◼%f" -KEYTIMEOUT=1 -bindkey -M vicmd 'V' edit-command-line - plugins=( git - vi-mode fancy-ctrl-z fzf zsh-autosuggestions @@ -44,6 +39,15 @@ plugins=( source $ZSH/oh-my-zsh.sh +# Go to Vim + +open-in-editor() { + zle edit-command-line + zle end-of-line +} +zle -N open-in-editor +bindkey '^v' open-in-editor + # Aliases alias fakemsg='echo "$(curl -s https://whatthecommit.com/index.txt)"'