[SCM] Vim packaging branch, debian, updated. upstream/7.2.010-251-g6d2b4cf

James Vega jamessan at debian.org
Sun Sep 28 21:23:39 UTC 2008


The following commit has been merged in the debian branch:
commit 7d0112a6ee537dacc9e499175a58b739026d100e
Author: James Vega <jamessan at debian.org>
Date:   Sun Sep 28 17:16:03 2008 -0400

    Use lastest last-position-jump snippet and keep it on one line
    
    Keeping the code on one line means we don't have to worry about whether
    'cpoptions' has the "C" setting.
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/runtime/vimrc b/debian/runtime/vimrc
index 7085fa8..8bd83a3 100644
--- a/debian/runtime/vimrc
+++ b/debian/runtime/vimrc
@@ -26,8 +26,7 @@ runtime! debian.vim
 " Uncomment the following to have Vim jump to the last position when
 " reopening a file
 "if has("autocmd")
-"  au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
-"    \| exe "normal! g'\"" | endif
+"  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
 "endif
 
 " Uncomment the following to have Vim load indentation rules and plugins

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list