Use vim as the default editor.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
parent
ba11b6cb8f
commit
25b8607466
@ -16,7 +16,7 @@ alias pjf="cd ~/Dropbox/Projects/_Forks"
|
|||||||
alias pjm="cd ~/Dropbox/Projects/!"
|
alias pjm="cd ~/Dropbox/Projects/!"
|
||||||
alias o="open"
|
alias o="open"
|
||||||
alias oo="open ."
|
alias oo="open ."
|
||||||
alias e="subl"
|
alias e=$EDITOR
|
||||||
alias gh="github"
|
alias gh="github"
|
||||||
alias +x="chmod +x"
|
alias +x="chmod +x"
|
||||||
alias x+="chmod +x"
|
alias x+="chmod +x"
|
||||||
|
@ -63,6 +63,9 @@ UNDERLINE="$(tput sgr 0 1)"
|
|||||||
INVERT="$(tput sgr 1 0)"
|
INVERT="$(tput sgr 1 0)"
|
||||||
NOCOLOR="$(tput sgr0)"
|
NOCOLOR="$(tput sgr0)"
|
||||||
|
|
||||||
|
# vim is default editor
|
||||||
|
export EDITOR=`which vim`
|
||||||
|
|
||||||
# Load prompt and aliases
|
# Load prompt and aliases
|
||||||
for file in ~/dotfiles/includes/bash_{prompt,aliases,functions,git}.bash; do
|
for file in ~/dotfiles/includes/bash_{prompt,aliases,functions,git}.bash; do
|
||||||
[ -r "$file" ] && source "$file"
|
[ -r "$file" ] && source "$file"
|
||||||
@ -97,9 +100,6 @@ function _tamia_autocomplete() {
|
|||||||
}
|
}
|
||||||
command -v yo >/dev/null 2>&1 && complete -F _tamia_autocomplete tm
|
command -v yo >/dev/null 2>&1 && complete -F _tamia_autocomplete tm
|
||||||
|
|
||||||
# Nano is default editor
|
|
||||||
export EDITOR='nano'
|
|
||||||
|
|
||||||
# Tell ls to be colourful
|
# Tell ls to be colourful
|
||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user