(vimrc): Adjust vimrc (add nvim section).

This commit is contained in:
Heavy@Hetzner 2024-09-24 21:00:35 +00:00
parent 0bdfd14340
commit 6f9cc94181
2 changed files with 17 additions and 1 deletions

View File

@ -3,3 +3,7 @@ if [ -d /etc/update-motd.d ]; then
. "$f"
done
fi
if [ -x neofetch ]; then
neofetch
fi

View File

@ -115,7 +115,8 @@ set cursorline " underline the current line, for quick orientat
" colorscheme mustang
" colorscheme solarized
colorscheme solarized8
" colorscheme solarized8
colorscheme blue
" https://superuser.com/questions/249779/how-to-setup-a-line-length-marker-in-vim-gvim
" https://vi.stackexchange.com/questions/356/how-can-i-set-up-a-ruler-at-a-specific-column
@ -248,3 +249,14 @@ packloadall
" Load all of the helptags now, after plugins have been loaded.
" All messages and errors will be ignored.
silent! helptags ALL
if has ('nvim')
" NeoVim specific commands
else
" Standard vim specific commands
call plug#begin()
Plug 'editorconfig/editorconfig-vim'
Plug 'https://github.com/altercation/vim-colors-solarized.git'
Plug 'hashivim/vim-terraform'
call plug#end()
endif