r644 - in /branches/packages/vim/vim7/debian/runtime: debian.vim gvimrc vimrc

zack at users.alioth.debian.org zack at users.alioth.debian.org
Thu May 4 18:58:03 UTC 2006


Author: zack
Date: Thu May  4 18:58:00 2006
New Revision: 644

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=644
Log:
more comments on the proper usage of configuration files, added some (commented) settings just to hint users about their existance

Modified:
    branches/packages/vim/vim7/debian/runtime/debian.vim
    branches/packages/vim/vim7/debian/runtime/gvimrc
    branches/packages/vim/vim7/debian/runtime/vimrc

Modified: branches/packages/vim/vim7/debian/runtime/debian.vim
URL: http://svn.debian.org/wsvn/pkg-vim/branches/packages/vim/vim7/debian/runtime/debian.vim?rev=644&op=diff
==============================================================================
--- branches/packages/vim/vim7/debian/runtime/debian.vim (original)
+++ branches/packages/vim/vim7/debian/runtime/debian.vim Thu May  4 18:58:00 2006
@@ -1,4 +1,6 @@
-" Configuration file for vim
+
+" Debian system-wide default configuration Vim
+
 set runtimepath=~/.vim,/usr/share/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vimcurrent,/usr/share/vim/vimfiles/after,/usr/share/vim/addons/after,~/.vim/after
 
 " Normally we use vim-extensions. If you want true vi-compatibility

Modified: branches/packages/vim/vim7/debian/runtime/gvimrc
URL: http://svn.debian.org/wsvn/pkg-vim/branches/packages/vim/vim7/debian/runtime/gvimrc?rev=644&op=diff
==============================================================================
--- branches/packages/vim/vim7/debian/runtime/gvimrc (original)
+++ branches/packages/vim/vim7/debian/runtime/gvimrc Thu May  4 18:58:00 2006
@@ -2,8 +2,8 @@
 "set noguipty
 
 " You can also specify a different font, overriding the default font
-" if has('gui_gtk2')
-"   set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
-" else
-"   set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-" endif
+"if has('gui_gtk2')
+"  set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
+"else
+"  set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
+"endif

Modified: branches/packages/vim/vim7/debian/runtime/vimrc
URL: http://svn.debian.org/wsvn/pkg-vim/branches/packages/vim/vim7/debian/runtime/vimrc?rev=644&op=diff
==============================================================================
--- branches/packages/vim/vim7/debian/runtime/vimrc (original)
+++ branches/packages/vim/vim7/debian/runtime/vimrc Thu May  4 18:58:00 2006
@@ -1,35 +1,50 @@
-" All system-wide defaults maintained by pkg-vim-maintainers are set in
-" $VIMRUNTIME/debian.vim and loaded by the following call to runtime.  If you
-" wish to change any of those settings, that should be done in this file since
-" debian.vim will be overwritten everytime an upgrade is performed.
-"
+" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
+" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
+" you can find below.  If you wish to change any of those settings, you should
+" do it in this file (/etc/vim/vimrc), since debian.vim will be overwritten
+" everytime an upgrade of the vim packages is performed.  It is recommended to
+" make changes after sourcing debian.vim since it alters the value of the
+" 'compatible' option.
+
 " This line should not be removed as it ensures that various options are
 " properly set to work with the Vim-related packages available in Debian.
 runtime! debian.vim
 
+" Uncomment the next line to make Vim more Vi-compatible
 " NOTE: debian.vim sets 'nocompatible'.  Setting 'compatible' changes numerous
 " options, so any other options should be set AFTER setting 'compatible'.
-" set compatible
+"set compatible
 
 " Vim5 and later versions support syntax highlighting. Uncommenting the next
 " line enables syntax highlighting by default.
-" syntax on
+"syntax on
 
 " If using a dark background within the editing area and syntax highlighting
 " turn on this option as well
-" set background=dark
+"set background=dark
 
 " 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
+"if has("autocmd")
+"  au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
+"    \| exe "normal g'\"" | endif
+"endif
+
+" Uncomment the following to have Vim load indentation rules according to the
+" detected filetype. Per default Debian Vim only load filetype specific
+" plugins.
+"if has("autocmd")
+"  filetype indent on
+"endif
 
 " The following are commented out as they cause vim to behave a lot
-" different from regular vi. They are highly recommended though.
+" differently from regular Vi. They are highly recommended though.
 "set showcmd		" Show (partial) command in status line.
 "set showmatch		" Show matching brackets.
 "set ignorecase		" Do case insensitive matching
+"set smartcase		" Do smart case matching
 "set incsearch		" Incremental search
 "set autowrite		" Automatically save before commands like :next and :make
+"set hidden             " Hide buffers when they are abandoned
+"set mouse=a		" Enable mouse usage (all modes) in terminals
+




More information about the pkg-vim-maintainers mailing list