From f54fbf777b3faae6af0fcfdc07cce714799c518e Mon Sep 17 00:00:00 2001 From: Kyle Coberly Date: Tue, 31 May 2016 14:22:01 -0600 Subject: [PATCH] Adding a local zsh configuration that enables vim commands in the shell --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..8c9d397 --- /dev/null +++ b/.zshrc @@ -0,0 +1,6 @@ +# Set vim mode in command line +bindkey -v +bindkey -M viins 'jj' vi-cmd-mode + +export VISUAL=vim +export EDITOR="$VISUAL"