public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/
@ 2016-12-01  0:24 99% Tim Harder
  0 siblings, 0 replies; 1+ results
From: Tim Harder @ 2016-12-01  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     f75e7300cf7eba9070a39a6000e1099fb6a305cd
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 00:22:04 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 00:23:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75e7300

app-editors/vim-core: disregard user mappings when restoring cursor position

This fixes bug #598726.

 app-editors/vim-core/files/vimrc-r5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/vim-core/files/vimrc-r5 b/app-editors/vim-core/files/vimrc-r5
index fdc316b..8143be5 100644
--- 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
 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-12-01  0:24 99% [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/files/ Tim Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox