diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +if 1 + augroup vimStartup + au! + + autocmd BufReadPost * + \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' + \ | exe "normal! g`\"" + \ | endif + augroup END +endif + autocmd FileType rust setlocal ts=4 sw=4 expandtab nnoremap <Enter> moO<Esc>`o |