Skip to content

Instantly share code, notes, and snippets.

@kalineh
Created June 24, 2014 05:10
Show Gist options
  • Save kalineh/16a48e0f951a2ddc6b28 to your computer and use it in GitHub Desktop.
Save kalineh/16a48e0f951a2ddc6b28 to your computer and use it in GitHub Desktop.
set nocompatible
set esckeys
set hidden
set ruler
set visualbell
set showcmd
set wildmenu
set noerrorbells
set noexpandtab
set nostartofline
set autoindent
set backspace=2
set formatoptions=cqrt
set laststatus=2
set shortmess=at
set whichwrap=<,>,h,l
set comments=b:#,:%,n:>
set sw=4 sts=4 et
set gcr=n:blinkon0
set vi=%,'50
set vi+=\"100,:100
set vi+=n~/.viminfo
let &t_ti.="\e[1 q"
let &t_SI.="\e[5 q"
let &t_EI.="\e[1 q"
let &t_te.="\e[0 q"
color solarized
colorscheme solarized
set background=dark
set hls is ic scs
nmap <silent> <C-n> :noh<CR>
filetype plugin indent on
syntax on
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") && &filetype != "gitcommit"
\| exe "normal! g'\"" | endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment