Set vim.nox as default editor
This commit is contained in:
@@ -63,3 +63,9 @@ fi
|
|||||||
mkdir -pv "$HOME/.vim/bundle"
|
mkdir -pv "$HOME/.vim/bundle"
|
||||||
git clone https://github.com/VundleVim/Vundle.vim "$HOME/.vim/bundle/Vundle.vim"
|
git clone https://github.com/VundleVim/Vundle.vim "$HOME/.vim/bundle/Vundle.vim"
|
||||||
vim +PluginInstall +qall
|
vim +PluginInstall +qall
|
||||||
|
|
||||||
|
echo "Set vim-nox as the default system editor"
|
||||||
|
VIM_PATH="$(which vim.nox)"
|
||||||
|
if [ -x "$VIM_PATH" ]; then
|
||||||
|
sudo update-alternatives --config editor "$VIM_PATH"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user