r489 - in trunk/vim/debian: . runtime

James Vega jamessan at costa.debian.org
Sun Feb 5 16:30:28 UTC 2006


Author: jamessan
Date: 2006-02-05 16:30:26 +0000 (Sun, 05 Feb 2006)
New Revision: 489

Modified:
   trunk/vim/debian/changelog
   trunk/vim/debian/runtime/vimrc
Log:
Added commented out last-position-jump to /etc/vim/vimrc. (#347597)


Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2006-02-05 15:42:43 UTC (rev 488)
+++ trunk/vim/debian/changelog	2006-02-05 16:30:26 UTC (rev 489)
@@ -25,8 +25,10 @@
     filetype. (closes: #349764)
   * Added patch 157_slrnrc.vim.diff which adds a few more functions to the
     slrnrc syntax file. (closes: #347801)
+  * Added commented out example autocmd for last-position-jump to
+    /etc/vim/vimrc. (closes: #347597)
 
- -- James Vega <jamessan at debian.org>  Sun,  5 Feb 2006 10:40:22 -0500
+ -- James Vega <jamessan at debian.org>  Sun,  5 Feb 2006 11:27:51 -0500
 
 vim (1:6.4-006+2) unstable; urgency=low
 

Modified: trunk/vim/debian/runtime/vimrc
===================================================================
--- trunk/vim/debian/runtime/vimrc	2006-02-05 15:42:43 UTC (rev 488)
+++ trunk/vim/debian/runtime/vimrc	2006-02-05 16:30:26 UTC (rev 489)
@@ -50,6 +50,13 @@
   augroup END
 endif
 
+" 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
+" endif
+
 " Set paper size from /etc/papersize if available (Debian-specific)
 if filereadable("/etc/papersize")
   try




More information about the pkg-vim-maintainers mailing list