From cdaa27f1decaaa2fcc12aea15dbe7fb2ed2c0a64 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 22 Aug 2009 13:51:28 +0200 Subject: [PATCH] use last-position-jump as example --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 1030ac6..27aeeb4 100644 --- a/.vimrc +++ b/.vimrc @@ -1450,7 +1450,7 @@ autocmd BufNewFile,BufRead /etc/logcheck/*.d*/* set tw=0 autocmd BufNewFile,BufRead /home/madduck/debian/pkg/logcheck/*/rulefiles/linux/*.d*/* set tw=0 " jump to last known position in file (:he last-position-jump) -autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"zz" | endif +autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"zz" | endif " disable list mode when inserting stuff, otherwise keep it enabled, it's " useful (see also setting lcs) -- 2.39.5