2013-04-24 16:58:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Vim Editor
|
2023-04-03 10:45:05 +02:00
|
|
|
if (command -v lvim &> /dev/null)
|
2013-04-24 16:58:31 +02:00
|
|
|
then
|
2023-04-03 10:45:05 +02:00
|
|
|
alias vim=lvim
|
|
|
|
elif (command -v nvim &> /dev/null)
|
|
|
|
then
|
|
|
|
alias vim=nvim
|
2013-04-24 16:58:31 +02:00
|
|
|
fi
|
2023-04-03 10:45:05 +02:00
|
|
|
# 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
|