mirror of https://gitlab.com/baco/dotconf.git
16 lines
302 B
VimL
16 lines
302 B
VimL
" Some settings Vim has on its defaults.vim that NeoVim hasn't set by default
|
|
|
|
set scrolloff=5
|
|
|
|
if has('mouse')
|
|
set mouse=a
|
|
endif
|
|
|
|
augroup vimStartup
|
|
au!
|
|
autocmd BufReadPost *
|
|
\ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
|
|
\ | exe "normal! g`\""
|
|
\ | endif
|
|
augroup END
|