Skip to content

Instantly share code, notes, and snippets.

@mbarkhau
Created May 26, 2011 09:10
Show Gist options
  • Save mbarkhau/992819 to your computer and use it in GitHub Desktop.
Save mbarkhau/992819 to your computer and use it in GitHub Desktop.
my vimrc
"" zi : toggle folding
""
call pathogen#runtime_append_all_bundles()
set spl=en spell
set tag=/home/koloss/workspace/tags
set ruler
set number
set wrap
set tabstop=4
set shiftwidth=4
set smarttab
""set expandtab
set autoindent
set textwidth=72
set guifont=Inconsolata\ Medium\ 16
set background=dark
set lines=45
set columns=84
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmatch
set foldmethod=indent
set nofen
set foldlevelstart=0
set foldcolumn=0
set highlight=8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine
set guicursor=n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175
highlight Normal guibg=Black guifg=White
set nocompatible
set hid
imap ii <Esc>
imap <C-Space> <C-X><C-O>
command W w
command Q q
command WQ wq
command Wq wq
command Tabnew tabnew
map <A-R> <Esc>:FufFile **/<CR>
set rtp+=~/golang/go/misc/vim
filetype plugin indent on
filetype plugin on
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment