Skip to content

Instantly share code, notes, and snippets.

@wangzuo
Last active December 18, 2015 19:49
Show Gist options
  • Save wangzuo/5835521 to your computer and use it in GitHub Desktop.
Save wangzuo/5835521 to your computer and use it in GitHub Desktop.
vimrc
execute pathogen#infect()
filetype plugin indent on
set encoding=utf-8
set tabstop=2
set expandtab
set shiftwidth=2
set shiftround
set ai
set si
set ci
set nobackup
set sm
set hlsearch
set nu
set showcmd
let mapleader=','
nmap <Leader>a= :Tabularize /=<CR>
vmap <Leader>a= :Tabularize /=<CR>
nmap <Leader>a: :Tabularize /:\zs<CR>
vmap <Leader>a: :Tabularize /:\zs<CR>
nmap <Leader>a> :Tabularize /=><CR>
vmap <Leader>a> :Tabularize /=><CR>
"set laststatus=2
"let g:Powerline_symbols = 'fancy'
syntax enable
set background=dark
colorscheme solarized
nmap <leader>d :NERDTreeToggle<CR>
nmap <leader>f :NERDTreeFind<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment