Created
July 22, 2011 19:42
-
-
Save bluegraybox/1100253 to your computer and use it in GitHub Desktop.
Basic Vim config
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
set nocompatible | |
" Don't use Ex mode, use Q for formatting | |
map Q gq | |
" Switch syntax highlighting on, when the terminal has colors | |
" Also switch on highlighting the last used search pattern. | |
if &t_Co > 2 || has("gui_running") | |
syntax on | |
set hlsearch | |
endif | |
highlight Search ctermbg=7 | |
" set t_kb=^? | |
fixdel | |
" source $VIMRUNTIME/vimrc_example.vim | |
behave xterm | |
set selectmode=mouse | |
set nobackup | |
set nowritebackup | |
set ruler | |
set autoindent | |
set tabstop=4 | |
set softtabstop=4 | |
set expandtab | |
set shiftwidth=4 | |
set textwidth=0 | |
set backspace=indent,eol,start | |
set guifont=Lucida\ Console | |
au BufRead * loadview | |
au BufWrite * mkview | |
au BufUnload * mkview | |
set statusline=%F%y%r%m%l,%c-%p | |
set showcmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment