From b5cab9cfa855b4ae19307189149ed1c5b86c66cb Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 14 Aug 2016 21:07:53 -0400 Subject: [PATCH] Fix for emacs shortcuts From tmux docs: "The default is emacs, unless the VISUAL or EDITOR environment variables are set and contain the string `vi'." For some reason, set -g status-keys emacs does not seem to override. For now, let's get our emacs keybinds back by clearing EDITOR. --- zshrc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/zshrc b/zshrc index e8100d2..4db293e 100644 --- a/zshrc +++ b/zshrc @@ -27,9 +27,6 @@ fi zle -N insert-sudo bindkey "^z" insert-sudo -# default editor is vim -export EDITOR='vim' - # init rbenv if test -d "$HOME/.rbenv"; then eval "$(rbenv init -)" @@ -40,10 +37,6 @@ if test -d "$NVM_DIR"; then source "$NVM_DIR/nvm.sh" fi -# temporary fix for tmux -bindkey "^a" beginning-of-line -bindkey "^e" end-of-line - # completion autoload -U compinit compinit