add: vim plug

This commit is contained in:
Tobias Reisinger 2019-12-26 20:59:01 +01:00
parent 461bf041c3
commit 7c5ca2f71e
3 changed files with 2599 additions and 3 deletions
.config

View file

@ -1,24 +0,0 @@
set number relativenumber
augroup numbertoggle
autocmd!
autocmd WinEnter * set relativenumber
autocmd WinLeave * set norelativenumber
augroup END
syntax on
set tabstop=4
set shiftwidth=4
set expandtab
set encoding=utf-8
set nowrap
set viminfo+=n~/.cache/viminfo
" Save cursor position. I don't understand this part :)
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif