projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dad16
)
app-editors/vim-core: disregard user mappings when restoring cursor position
author
Tim Harder
<radhermit@gentoo.org>
Thu, 1 Dec 2016 00:22:04 +0000
(19:22 -0500)
committer
Tim Harder
<radhermit@gentoo.org>
Thu, 1 Dec 2016 00:23:50 +0000
(19:23 -0500)
This fixes bug #598726.
app-editors/vim-core/files/vimrc-r5
patch
|
blob
|
history
diff --git
a/app-editors/vim-core/files/vimrc-r5
b/app-editors/vim-core/files/vimrc-r5
index fdc316b4c35b5693896ba17910aaac71064a23ad..8143be5fb48db930ab9f46358dfff0f1bee9b74a 100644
(file)
--- a/
app-editors/vim-core/files/vimrc-r5
+++ b/
app-editors/vim-core/files/vimrc-r5
@@
-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