Configure vim

This commit is contained in:
Aditya 2023-01-12 19:41:04 +05:30
parent 3f960b4db2
commit 419ceed744

View file

@ -35,3 +35,23 @@ ln -sv ../vim/vim90/doc /usr/share/doc/vim-9.0.0228
cd /sources
rm -rf vim-9.0.0228
# Configure vim
cat > /etc/vimrc << "EOF"
" Begin /etc/vimrc
" Ensure defaults are set before customizing settings, not after
source $VIMRUNTIME/defaults.vim
let skip_defaults_vim=1
set nocompatible
set backspace=2
set mouse=
syntax on
if (&term == "xterm") || (&term == "putty")
set background=dark
endif
" End /etc/vimrc
EOF