" ================================================================== " Setup File for VIM - GUI version " ================================================================== " File: $HOME/.gvimrc " Size: ca 2KB " Latest change: Wed Oct 01 06:08:10 CEST 2003 " Purpose: *Personal* Setup file for GVim - " the GUI version of the editor Vim (Vi IMproved) " Author: Sven Guckes guckes@vim.org " Availability: http://www.guckes.net/setup/gvimrc " Enjoy! Feedback is very welcome! :-) " ================================================================== " ================================================================== " SETTINGS! " ================================================================== " Set some nice settings - recommended! " set background=dark backspace=2 cindent esckeys hidden " set ruler showmatch smarttab shiftwidth=4 tabstop=8 " Or shorter: " set bg=dark bs=2 cin ek hid paste ru sm sta sw=4 ts=8 " What these settings do? Well - RTFM! ;-) " Allow use of mouse for all modes " (normal, insert, visual, command line): " set mouse=a " Set a specific font: " set guifont=courier_new:h9 " Set windows size by columns and lines directly: " set columns=90 lines=30 " ================================================================== " COLORS! " ================================================================== " turn on syntax coloring: syntax on " set the color of normal text: " hi Normal guibg=Black guifg=White hi Normal guibg=black guifg=grey " ================================================================== " AUTOCOMMANDS! " ================================================================== " au BufRead *.java set cindent " Position the window at the top left corner on startup: au GUIEnter * winpos 0 0 " Show the current filename in the title: au BufEnter * let &titlestring=expand("%:p:~") " THPXRF " vim: et