Created
May 18, 2011 22:38
-
-
Save dahu/979759 to your computer and use it in GitHub Desktop.
sample of my vimrc options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""""""""" | |
" Options | |
"""""""""" | |
" Use :help 'option (inclduing the ' character) to learn more about each one. | |
" | |
" Buffer (File) Options: | |
set hidden " Edit multiple unsaved files at the same time | |
set confirm " Prompt to save unsaved changes when exiting | |
" Keep various histories between edits | |
set viminfo='1000,f1,<500,:100,/100 | |
set shortmess=atI " [TRIAL] drop oO and include I | |
" Search Options: | |
set hlsearch " Highlight searches. See below for more. | |
set ignorecase " Do case insensitive matching... | |
set smartcase " ...except when using capital letters | |
set incsearch " Incremental search | |
" Insert (Edit) Options: | |
set backspace=indent,eol,start " Better handling of backspace key | |
set autoindent " Sane indenting when filetype not recognised | |
set nostartofline " Emulate typical editor navigation behaviour | |
set nopaste " Start in normal (non-paste) mode | |
set pastetoggle=<f11> " Use <F11> to toggle between 'paste' and 'nopaste' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment