Просмотр исходного кода

fixed syntaxual and operative errors

Josh Bicking 8 лет назад
Родитель
Сommit
6f1c928f24
1 измененных файлов с 6 добавлено и 9 удалено
  1. 6 9
      zshrc

+ 6 - 9
zshrc

@@ -64,8 +64,8 @@ alias lsa='ls -a --color=auto'
 alias lls='ls -lh --color=auto'
 alias ll='ls -lh --color=auto'
 
-export VISUAL=emacs -nw
-
+# Use vim as the default text editor
+export VISUAL=vim
 
 # eval used by thefuck
 if hash fuck 2>/dev/null; then
@@ -88,15 +88,12 @@ bindkey "^[[F" end-of-line
 # Enable forward search
 bindkey "^s" history-incremental-search-forward
 
+# Ctrl-Left and Ctrl-Right keys move between words
+bindkey ";5C" forward-word
+bindkey ";5D" backward-word
 
-# Vim and vi bindings
-
-# Use vim as the default text editor
-# export VISUAL=vim
 
-# Ctrl-Left and Ctrl-Right keys move between words
-# bindkey ";5C" forward-word
-# bindkey ";5D" backward-word
+# Vim and vi bindings
 
 # alias for vim muscle memory when quitting
 #alias :q='exit'