runtime/etc/vimrc
2020-02-02 22:06:11 +01:00

27 lines
408 B
VimL

set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
syn on
set noerrorbells
set number
set wildmenu
set pastetoggle=<F11>
set scrolloff=3
set smartindent
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=0
function! ResCur()
if line("'\"") <= line("$")
normal! g`"
return 1
endif
endfunction
augroup resCur
autocmd!
autocmd BufWinEnter * call ResCur()
augroup END