diff options
| author | Nik Clayton <nik@FreeBSD.org> | 1999-11-15 19:41:09 +0000 |
|---|---|---|
| committer | Nik Clayton <nik@FreeBSD.org> | 1999-11-15 19:41:09 +0000 |
| commit | 2ee8a10ad291c348034ff719bfe02a58507603c2 (patch) | |
| tree | 1b9062cdb3bd53516ed3c055dd105dcbcbeb0c6c /share/examples/vim/gvimrc-sample | |
| parent | f92d0dc4467359801a95412ad9cd6c27b9cc3009 (diff) | |
Sample .vimrc and associated files for editing FDP documentation, and
maintaining structure, and so on.
Submitted by: Robert Brive <brive@freebsd-fr.org
Notes
svn path=/head/; revision=6069
Diffstat (limited to 'share/examples/vim/gvimrc-sample')
| -rw-r--r-- | share/examples/vim/gvimrc-sample | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/share/examples/vim/gvimrc-sample b/share/examples/vim/gvimrc-sample new file mode 100644 index 0000000000..d929d9dbb2 --- /dev/null +++ b/share/examples/vim/gvimrc-sample @@ -0,0 +1,38 @@ +" $FreeBSD$ +" An example for a gvimrc file. +" The commands in this are executed when the GUI is started. +" (based on the work done by Bram Moolenaar <Bram@vim.org>) +" +" To use it, copy it to +" for Unix and OS/2: ~/.gvimrc +" for Amiga: s:.gvimrc +" for MS-DOS and Win32: $VIM\_gvimrc +" +" And copy the other files to your $HOME/.vim directory + +" Make command line two lines high +set ch=2 + +" Make shift-insert work like in Xterm +map <S-Insert> <MiddleMouse> +map! <S-Insert> <MiddleMouse> + +" Only do this for Vim version 5.0 and later. +if version >= 500 + + " Switch on syntax highlighting. + syntax on + + " Switch on search pattern highlighting. + set hlsearch + + " Hide the mouse pointer while typing + set mousehide + + " Edit FreeBSD DocBook files + source $HOME/.vim/edit-sgml.vim + + " Iso-8859-1 accents in SGML + source $HOME/.vim/accents-sgml.vim + +endif |
