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.
This commit is contained in:
parent
eff7e9d880
commit
b5cab9cfa8
1 changed files with 0 additions and 7 deletions
7
zshrc
7
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
|
||||
|
|
Loading…
Reference in a new issue