Use vim as the default editor.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
Jacob Kiers 2014-03-07 10:44:45 +01:00
parent ba11b6cb8f
commit 25b8607466
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ alias pjf="cd ~/Dropbox/Projects/_Forks"
alias pjm="cd ~/Dropbox/Projects/!"
alias o="open"
alias oo="open ."
alias e="subl"
alias e=$EDITOR
alias gh="github"
alias +x="chmod +x"
alias x+="chmod +x"

View File

@ -63,6 +63,9 @@ UNDERLINE="$(tput sgr 0 1)"
INVERT="$(tput sgr 1 0)"
NOCOLOR="$(tput sgr0)"
# vim is default editor
export EDITOR=`which vim`
# Load prompt and aliases
for file in ~/dotfiles/includes/bash_{prompt,aliases,functions,git}.bash; do
[ -r "$file" ] && source "$file"
@ -97,9 +100,6 @@ function _tamia_autocomplete() {
}
command -v yo >/dev/null 2>&1 && complete -F _tamia_autocomplete tm
# Nano is default editor
export EDITOR='nano'
# Tell ls to be colourful
export CLICOLOR=1