Skip to content

Instantly share code, notes, and snippets.

Created November 12, 2012 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4059839 to your computer and use it in GitHub Desktop.
Save anonymous/4059839 to your computer and use it in GitHub Desktop.
vimrc
set tags=/home/Cybs/vimTags/Fulltags
syntax on
set smartindent
set background=dark
set backspace=indent,eol,start
set nocompatible
set incsearch " move while searching
set laststatus=2 " always show the status line
set lazyredraw " do not redraw while running macros
set linespace=0 " don't insert any extra pixel lines
" betweens rows
set list " we do what to show tabs, to ensure we get them
" out of my files
set listchars=tab:>-,trail:- " show tabs and trailing
set matchtime=5 " how many tenths of a second to blink
" matching brackets for
set novisualbell " don't blink
set numberwidth=5 " We are good up to 99999 lines
set report=0 " tell us when anything is changed via :...
set ruler " Always show current positions along the bottom
set scrolloff=10 " Keep 10 lines (top/bottom) for scope
set showcmd " show the command being typed
set showmatch " show matching brackets
set sidescrolloff=10 " Keep 5 lines at the size
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
set t_Co=256
colo desert256
au BufNewFile,BufRead *.cpp set syntax=cpp11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment