Skip to content

Commit

Permalink
app-editors/vim-core: disregard user mappings when restoring cursor p…
Browse files Browse the repository at this point in the history
…osition

This fixes bug #598726.
  • Loading branch information
radhermit committed Dec 1, 2016
1 parent 74dad16 commit f75e730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-editors/vim-core/files/vimrc-r5
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ augroup gentoo
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ exe "normal! g'\"" |
\ endif |
\ endif

Expand Down

0 comments on commit f75e730

Please sign in to comment.