Skip to content

Instantly share code, notes, and snippets.

View veggiefrog's full-sized avatar

Andrew Rivett veggiefrog

View GitHub Profile
@veggiefrog
veggiefrog / .vimrc
Created November 19, 2017 20:09
VIM: Remember last position in file
" Remember position of last edit and return on reopen
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif