feat(aliases): désactivation de l'alias vim pointant vers lvim

This commit is contained in:
Xavier Logerais 2023-11-02 15:14:12 +01:00
parent 2fe787a370
commit a50a9359ad

View File

@ -1,13 +1,17 @@
#!/bin/bash
# Vim Editor
if (command -v lvim &> /dev/null)
then
alias vim=lvim
elif (command -v nvim &> /dev/null)
if (command -v nvim &> /dev/null)
then
alias vim=nvim
fi
# if (command -v lvim &>/dev/null); then
# alias vim=lvim
# elif (command -v nvim &>/dev/null); then
# alias vim=nvim
# fi
# if [ -x /usr/bin/vim ]
# then
# alias vi='vim -p'