Skip to content

Instantly share code, notes, and snippets.

@jappa
Created July 16, 2015 20:42
Show Gist options
  • Save jappa/1809bb6df6ff4c897336 to your computer and use it in GitHub Desktop.
Save jappa/1809bb6df6ff4c897336 to your computer and use it in GitHub Desktop.
syntax on
augroup resCur
autocmd!
autocmd BufReadPost * call setpos(".", getpos("'\""))
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment