Skip to content

Instantly share code, notes, and snippets.

@abatkin
Created May 29, 2012 21:18
Show Gist options
  • Save abatkin/2830769 to your computer and use it in GitHub Desktop.
Save abatkin/2830769 to your computer and use it in GitHub Desktop.
Work vimrc (on Windows)
call pathogen#infect()
let s:local_vim_dir = expand("~/.vim-local")
if isdirectory(s:local_vim_dir)
call pathogen#infect(s:local_vim_dir)
endif
syntax enable
filetype plugin indent on
"if filereadable("$VIMRUNTIME/mswin.vim")
:so $VIMRUNTIME/mswin.vim
"endif
:behave mswin
if has("gui_running")
set nu
set guifont=DejaVu_Sans_Mono_for_Powerline:h8:cANSI
set guioptions-=T
set lines=50
set columns=140
let g:Powerline_symbols = 'fancy'
colorscheme abbott
else
let g:Powerline_symbols = 'compatible'
colorscheme vividchalk
endif
set background=dark
set shiftwidth=2
set tabstop=2
set noautowrite
set hidden
set autoindent smartindent
set smarttab
set history=200
set incsearch
set ignorecase
set hlsearch
set showmatch
set nobackup
set encoding=utf-8
set laststatus=2
set wildignore=*.swp,*.zip,.svn/*,*.class,*.jar
vmap <Tab> >gv
vmap <S-Tab> <gv
let g:buffergator_viewport_split_policy = "B"
let g:buffergator_autoexpand_on_split = 0
let g:buffergator_split_size = 0
let g:buffergator_sort_regime = "mru"
let g:ctrlp_mruf_case_sensitive = 0
let g:ctrlp_mruf_last_entered = 1
let g:ctrlp_dotfiles = 0
let g:ctrlp_working_path_mode = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment