Mercurial > public > dotfiles
comparison vim/.vimrc @ 4:6bb800967ce5
Turn off spell checking by default. Use the Unix/Linux syntax for wildignore.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 05 Jan 2012 20:05:42 -0600 |
parents | 611e13daeafb |
children | ff60fbc930de |
comparison
equal
deleted
inserted
replaced
3:92af3257a261 | 4:6bb800967ce5 |
---|---|
11 set textwidth=120 | 11 set textwidth=120 |
12 set number | 12 set number |
13 set ruler | 13 set ruler |
14 set history=1000 | 14 set history=1000 |
15 set encoding=utf-8 | 15 set encoding=utf-8 |
16 set showcmd | |
16 | 17 |
17 " CtrlP related settings | 18 " CtrlP related settings |
18 set wildignore+=.git\*,.hg\*,.svn\*,*.d,*.dbo,*.o,*.ti | 19 " set wildignore+=.git\*,.hg\*,.svn\*,*.d,*.dbo,*.o,*.ti |
20 set wildignore+=*/.git/*,*/.hg/*,*/.svn/* | |
21 let g:ctrlp_working_path_mode = 2 | |
19 | 22 |
20 " 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 |
21 runtime macros/matchit.vim | 24 runtime macros/matchit.vim |
22 | 25 |
23 " These two options make /-style searching case-sensitive only if there | 26 " These two options make /-style searching case-sensitive only if there |
56 nnoremap <S-Tab> :bprevious<CR> | 59 nnoremap <S-Tab> :bprevious<CR> |
57 | 60 |
58 " Remove extra trailing spaces | 61 " Remove extra trailing spaces |
59 nnoremap <F2> :%s/\s\+$//<CR> | 62 nnoremap <F2> :%s/\s\+$//<CR> |
60 | 63 |
61 setlocal spell spelllang=en_us | 64 " setlocal spell spelllang=en_us |
62 | 65 |
63 let mapleader="," | 66 let mapleader="," |
64 | 67 |
65 " ,/ will clear any highlighted search results | 68 " ,/ will clear any highlighted search results |
66 nmap <silent> ,/ :let @/=""<CR> | 69 nmap <silent> ,/ :let @/=""<CR> |