Last active
August 29, 2015 14:08
-
-
Save beaurancourt/30e0d3d3f47b838c45d8 to your computer and use it in GitHub Desktop.
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
if has("gui_macvim") | |
macmenu File.Print key=<nop> | |
map <D-p> :CtrlP<CR> | |
endif |
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
brew install ctags-exuberant | |
brew install macvim --with-cscope --with-lua --HEAD | |
cd ~ | |
git clone git@github.com:beaushinkle/.vim.git | |
cd .vim/bundle/ | |
git clone https://github.com/rking/ag.vim | |
git clone https://github.com/kien/ctrlp.vim | |
git clone https://github.com/Shougo/neocomplete.vim | |
git clone https://github.com/scrooloose/nerdcommenter | |
git clone https://github.com/godlygeek/tabular | |
git clone https://github.com/majutsushi/tagbar | |
git clone https://github.com/kchmck/vim-coffee-script | |
git clone https://github.com/altercation/vim-colors-solarized | |
git clone https://github.com/Lokaltog/vim-easymotion | |
git clone https://github.com/derekwyatt/vim-scala | |
git clone https://github.com/tpope/vim-sensible | |
git clone https://github.com/tpope/vim-surround | |
# go to your mercury folder | |
ctags -R . --exclude=target --exclude=vendor |
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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
autocmd StdinReadPre * let s:std_in=1 | |
syntax enable | |
set background=dark | |
colorscheme solarized | |
set shell=bash | |
set showcmd | |
set guifont=Source\ Code\ Pro:h16 | |
let g:ctrlp_map = '<d-p>' | |
let g:ctrlp_cmd = 'CtrlP' | |
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/target/*,*.json,*.js,*.css | |
noremap <C-S-]> :tabnext<CR> | |
noremap <C-S-[> :tabprev<CR> | |
set history=1000 | |
let mapleader="," | |
set number | |
let g:ctrlp_by_filename = 1 | |
set grepprg=ack | |
set tabstop=2 shiftwidth=2 expandtab | |
set complete=.,w,b,u,t,i | |
set tags=tags;/ | |
nmap <D-r> :TagbarToggle<CR> | |
let g:tagbar_type_scala = { | |
\ 'ctagstype' : 'Scala', | |
\ 'kinds' : [ | |
\ 'p:packages:1', | |
\ 'V:values', | |
\ 'v:variables', | |
\ 'T:types', | |
\ 't:traits', | |
\ 'o:objects', | |
\ 'a:aclasses', | |
\ 'c:classes', | |
\ 'r:cclasses', | |
\ 'm:methods' | |
\ ] | |
\ } | |
nnoremap <silent><Leader><C-]> <C-w><C-]><C-w>T | |
let g:neocomplete#enable_at_startup = 1 | |
" <TAB>: completion. | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>\<C-y>" : | |
\ <SID>check_back_space() ? "\<TAB>" : | |
\ neocomplete#start_manual_complete() | |
function! s:check_back_space() "{{{ | |
let col = col('.') - 1 | |
return !col || getline('.')[col - 1] =~ '\s' | |
endfunction"}}} | |
augroup reload_vimrc " { | |
autocmd! | |
autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
augroup END " } | |
au BufReadPost *.projection set syntax=ruby | |
au BufReadPost *.bms set syntax=ruby | |
map <C-j> <C-W>j<C-W>_ | |
map <C-k> <C-W>k<C-W>_ | |
map <C-h> <C-W>h<C-W>_ | |
map <C-l> <C-W>l<C-W>_ | |
set wmh=0 | |
let g:easytags_async = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment