mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 11:52:52 +00:00
Configure vim
This commit is contained in:
parent
3f960b4db2
commit
419ceed744
1 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue