Просмотр исходного кода

~/.vimrc: plugins: git changes, multiple cursors.

git-gutter displays the line status beside the line number and multiple
cursors makes simple renames in one file much easier.
Lucas Stadler лет назад: 12
Родитель
Сommit
bf92a06a7d
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      .vimrc

+ 3 - 1
.vimrc

14
au FileType haskell noremap <buffer> \ht :HdevtoolsType<CR>
14
au FileType haskell noremap <buffer> \ht :HdevtoolsType<CR>
15
au FileType haskell noremap <buffer> \hc :HdevtoolsClear<CR>
15
au FileType haskell noremap <buffer> \hc :HdevtoolsClear<CR>
16
Bundle 'tpope/vim-foreplay'
16
Bundle 'tpope/vim-foreplay'
17
Bundle 'airblade/vim-gitgutter'
18
Bundle 'terryma/vim-multiple-cursors'
17
19
18
" Have syntax highlighting and non-vi features
20
" Have syntax highlighting and non-vi features
19
syntax on
21
syntax on
170
map <c-b> :make<CR> " build
172
map <c-b> :make<CR> " build
171
" Fuzzy finding (http://thechangelog.com/post/15573551543)
173
" Fuzzy finding (http://thechangelog.com/post/15573551543)
172
noremap <C-e> :CtrlP<CR>
174
noremap <C-e> :CtrlP<CR>
173
noremap <C-p> :tabnew<CR>:CtrlP<CR>
175
"noremap <C-p> :tabnew<CR>:CtrlP<CR>
174
map <c-f> :!ack
176
map <c-f> :!ack
175
nmap <c-a> :w<CR>
177
nmap <c-a> :w<CR>
176
map <Leader>t :TagbarToggle<CR>
178
map <Leader>t :TagbarToggle<CR>