Mercurial > public > dotfiles
comparison vim/.vimrc @ 25:732ed3539b7a
Workiva Vim updates.
Local settings for Dart and Groovy.
.vimrc tweaks for recent work and plugins.
Moved readme for bundle up a level so we can .hgignore the entire directory.
Update readme for bundle directory for plugins I started using.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 31 Jul 2015 15:39:23 -0500 |
parents | 7c2f7ee3f55e |
children | d17e9bd25f68 |
comparison
equal
deleted
inserted
replaced
24:f5af5e32dcdc | 25:732ed3539b7a |
---|---|
16 set showcmd | 16 set showcmd |
17 | 17 |
18 " CtrlP related settings | 18 " CtrlP related settings |
19 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*.o,*.swp,*.pyc | 19 set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*.o,*.swp,*.pyc |
20 let g:ctrlp_working_path_mode = 'ra' | 20 let g:ctrlp_working_path_mode = 'ra' |
21 let g:ctrlp_max_files = 20000 | 21 let g:ctrlp_max_files = 30000 |
22 | 22 |
23 " This allows % to toggle on if/elsif/else/end, XML tags, & more | 23 " This allows % to toggle on if/elsif/else/end, XML tags, & more |
24 runtime macros/matchit.vim | 24 runtime macros/matchit.vim |
25 | 25 |
26 " These two options make /-style searching case-sensitive only if there | 26 " These two options make /-style searching case-sensitive only if there |
33 | 33 |
34 " This puts more context around the cursor when scrolling | 34 " This puts more context around the cursor when scrolling |
35 set scrolloff=3 | 35 set scrolloff=3 |
36 | 36 |
37 let g:netrw_sort_sequence = "[\/]$,*,\.bak$,\.o$,\.info$,\.swp$,\.obj$" | 37 let g:netrw_sort_sequence = "[\/]$,*,\.bak$,\.o$,\.info$,\.swp$,\.obj$" |
38 | |
39 if has('vim_starting') | |
40 set runtimepath+=~/.vim/bundle/dart-vim-plugin | |
41 endif | |
38 | 42 |
39 syntax on | 43 syntax on |
40 filetype on | 44 filetype on |
41 filetype plugin on | 45 filetype plugin on |
42 filetype indent on | 46 filetype indent on |
143 sys.stderr.write("Uknown extension %s" % ext) | 147 sys.stderr.write("Uknown extension %s" % ext) |
144 EOF | 148 EOF |
145 endfunction | 149 endfunction |
146 | 150 |
147 nnoremap <leader>s :call BgnSwitchPart()<CR> | 151 nnoremap <leader>s :call BgnSwitchPart()<CR> |
152 nmap <silent> <Leader>e :Explore<CR> | |
148 | 153 |
149 " Pathogen support | 154 " Pathogen support |
150 call pathogen#infect() | 155 call pathogen#infect() |