mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
11 lines
355 B
VimL
11 lines
355 B
VimL
|
" open at last location if possible
|
||
|
if has('autocmd')
|
||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||
|
endif
|
||
|
|
||
|
" open help and man pages in a vertical split
|
||
|
autocmd FileType help wincmd L
|
||
|
autocmd FileType man wincmd L
|
||
|
" make terminal not have line numbers
|
||
|
autocmd TermOpen * setlocal nonumber norelativenumber
|