浏览代码

Set default editor.

bsofdth 12 年之前
父节点
当前提交
df778a9259
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bashrc

+ 1 - 0
bashrc

@@ -116,6 +116,7 @@ fi
 
 # allow ctrl+S in vim to save files, ie pass the command to vim when
 # vim is open.
+export EDITOR="vim"
 vim() {
   local STTYOPTS="$(stty --save)"
   stty stop '' -ixoff