r748 - in /trunk/packages/vim/debian: changelog runtime/debian.vim.in

zack at users.alioth.debian.org zack at users.alioth.debian.org
Thu Aug 24 20:59:21 UTC 2006


Author: zack
Date: Thu Aug 24 20:59:19 2006
New Revision: 748

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=748
Log:
changed debian.vim to unfold the changelog entry the cursor is open when a changelog is opened

Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/debian/runtime/debian.vim.in

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=748&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Thu Aug 24 20:59:19 2006
@@ -12,7 +12,12 @@
   * Update debian/rules to generate helptags for the plugins that are in
     /usr/share/vim/addons.
 
- -- James Vega <jamessan at debian.org>  Thu, 17 Aug 2006 10:25:32 -0400
+  [ Stefano Zacchiroli ]
+  * Added to $VIMRUNTIME/debian.vim a debchangelog filetype autogroup.
+    Added to it a single command to (recursively) unfold the changelog entry
+    the cursor is on when the file is opened.
+
+ -- Stefano Zacchiroli <zack at debian.org>  Thu, 24 Aug 2006 22:59:03 +0200
 
 vim (1:7.0-035+1) unstable; urgency=low
 

Modified: trunk/packages/vim/debian/runtime/debian.vim.in
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/runtime/debian.vim.in?rev=748&op=diff
==============================================================================
--- trunk/packages/vim/debian/runtime/debian.vim.in (original)
+++ trunk/packages/vim/debian/runtime/debian.vim.in Thu Aug 24 20:59:19 2006
@@ -40,9 +40,16 @@
 
   " Some Debian-specific things
   if has("autocmd")
+    " set mail filetype for reportbug's temp files
     augroup debian
       au BufRead reportbug.*		set ft=mail
       au BufRead reportbug-*		set ft=mail
+    augroup END
+
+    " unfold the first entry in debian changelogs
+    augroup debchangelog
+      autocmd!
+      autocmd FileType debchangelog normal zO
     augroup END
   endif
 




More information about the pkg-vim-maintainers mailing list