Last active
August 29, 2015 13:56
-
-
Save garrettdreyfus/9175771 to your computer and use it in GitHub Desktop.
Vim Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nu | |
syntax on | |
color solarized | |
set wildmode=longest,list,full | |
set wildmenu | |
set backspace=2 | |
set nowrap | |
set t_Co=256 | |
set mouse=a | |
set splitright | |
filetype plugin on | |
let g:neocomplete#enable_at_startup = 1 | |
set runtimepath^=~/.vim/bundle/ctrlp.vim | |
inoremap <leader><Tab> <C-n> | |
inoremap <leader>c <C-x><C-L> | |
func! WordProcessorMode() | |
setlocal formatoptions=1 | |
setlocal noexpandtab | |
map j gj | |
map k gk | |
set formatprg=par | |
setlocal wrap | |
setlocal linebreak | |
endfu | |
com! WP call WordProcessorMode() | |
noremap <leader>g :vimgrep ./**/* <Left><Left><Left><Left><Left><Left><Left><Left> | |
set expandtab | |
set shiftwidth=4 | |
set autoindent | |
set smartindent | |
set cindent | |
set backup | |
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
set backupskip=/tmp/*,/private/tmp/* | |
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
set writebackup | |
call pathogen#infect() | |
let g:vimclojure#HighlightBuiltins = 1 | |
let g:vimclojure#ParenRainbow = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment