.vimrc

changeset 716
7ea1f4410682
parent 714
ec87c6a8bac5
child 718
30888d15e6ee
equal deleted inserted replaced
715:e5da1bdb72b6 716:7ea1f4410682
30 Plugin 'rking/ag.vim' 30 Plugin 'rking/ag.vim'
31 31
32 Plugin 'godlygeek/tabular' 32 Plugin 'godlygeek/tabular'
33 Plugin 'tomtom/tcomment_vim' 33 Plugin 'tomtom/tcomment_vim'
34 Plugin 'tpope/vim-unimpaired' 34 Plugin 'tpope/vim-unimpaired'
35 Plugin 'lifepillar/vim-mucomplete'
35 Plugin 'tpope/vim-endwise' 36 Plugin 'tpope/vim-endwise'
36 Plugin 'lifepillar/vim-mucomplete'
37 37
38 if executable('rls') 38 if executable('rls')
39 Plugin 'prabirshrestha/async.vim' 39 Plugin 'prabirshrestha/async.vim'
40 Plugin 'prabirshrestha/vim-lsp' 40 Plugin 'prabirshrestha/vim-lsp'
41 end 41 end
125 noremap <leader>te :Tabularize first_eq<CR> 125 noremap <leader>te :Tabularize first_eq<CR>
126 noremap <leader>tc :Tabularize first_colon<CR> 126 noremap <leader>tc :Tabularize first_colon<CR>
127 noremap <leader>tm :Tabularize methods<CR> 127 noremap <leader>tm :Tabularize methods<CR>
128 128
129 noremap <silent> <leader>a :call vimrc#AutoFmtToggle()<CR> 129 noremap <silent> <leader>a :call vimrc#AutoFmtToggle()<CR>
130
131 if exists("g:loaded_mucomplete")
132 set shortmess+=c
133 imap <Plug>MyCR <Plug>(MUcompleteCR)
134 imap <cr> <Plug>MyCR
135 endif
136 130
137 " Command Aliases {{{ 131 " Command Aliases {{{
138 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>) 132 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>)
139 CAlias Q q 133 CAlias Q q
140 CAlias W w 134 CAlias W w
188 set laststatus=2 182 set laststatus=2
189 set noshowmode 183 set noshowmode
190 set showcmd 184 set showcmd
191 set wildmenu 185 set wildmenu
192 set wildignorecase 186 set wildignorecase
187 set shortmess+=c
193 188
194 set noerrorbells 189 set noerrorbells
195 if has('patch-7.4-793') 190 if has('patch-7.4-793')
196 set belloff=all 191 set belloff=all
197 endif 192 endif

mercurial