You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
361 B
9 lines
361 B
if [ -x /usr/bin/vim ] || [ -x /usr/bin/vi ]; then
|
|
alias v-conf="$EDITOR ~/.vimrc"
|
|
alias va-conf="$EDITOR ~/.vim/autocmds.vim"
|
|
alias vc-conf="$EDITOR ~/.vim/config.vim"
|
|
alias vf-conf="$EDITOR ~/.vim/functions.vim"
|
|
alias vm-conf="$EDITOR ~/.vim/mappings.vim"
|
|
else
|
|
alias {v-conf,va-config,vc-conf,vf-conf,vm-conf}='echo "Sorry, vim not installed"'
|
|
fi
|
|
|