Last active
January 3, 2016 10:58
-
-
Save rhysd/8452671 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " カーソル位置の復元(git commit のときだけは動かさない) | |
| augroup restore-cursor | |
| autocmd! | |
| autocmd BufReadPost * | |
| \ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !=# 'gitcommit' | | |
| \ exe "normal! g`\"" | | |
| \ endif | |
| augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment