Sfoglia il codice sorgente

Set default editor.

bsofdth 12 anni fa
parent
commit
df778a9259
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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