runtime/etc/vimrc

28 lines
428 B
VimL
Raw Normal View History

2020-02-02 21:06:11 +00:00
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
2020-08-19 15:04:23 +00:00
set fileformat=unix
2020-02-02 21:06:11 +00:00
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