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