config-bash/aliases.d/vim

17 lines
287 B
Plaintext
Raw Normal View History

2013-04-24 16:58:31 +02:00
#!/bin/bash
# Vim Editor
if (command -v lvim &> /dev/null)
2013-04-24 16:58:31 +02:00
then
alias vim=lvim
elif (command -v nvim &> /dev/null)
then
alias vim=nvim
2013-04-24 16:58:31 +02:00
fi
# if [ -x /usr/bin/vim ]
# then
# alias vi='vim -p'
# alias view='vim -R'
# alias vless='vim -u /usr/share/vim/vim*/macros/less.vim'
# fi