no more <cr> weirdness

Thu, 16 Aug 2018 23:35:28 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 Aug 2018 23:35:28 -0400
changeset 716
7ea1f4410682
parent 715
e5da1bdb72b6
child 717
aa75c68ba540

no more <cr> weirdness

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -32,8 +32,8 @@ let s:filename   = expand('<sfile>')
   Plugin 'godlygeek/tabular'
   Plugin 'tomtom/tcomment_vim'
   Plugin 'tpope/vim-unimpaired'
+  Plugin 'lifepillar/vim-mucomplete'
   Plugin 'tpope/vim-endwise'
-  Plugin 'lifepillar/vim-mucomplete'
 
   if executable('rls')
     Plugin 'prabirshrestha/async.vim'
@@ -128,12 +128,6 @@ noremap <leader>tm :Tabularize methods<C
 
 noremap <silent> <leader>a :call vimrc#AutoFmtToggle()<CR>
 
-if exists("g:loaded_mucomplete")
-  set shortmess+=c
-  imap <Plug>MyCR <Plug>(MUcompleteCR)
-  imap <cr> <Plug>MyCR
-endif
-
 " Command Aliases  {{{
 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>)
 CAlias Q q
@@ -190,6 +184,7 @@ set noshowmode
 set showcmd
 set wildmenu
 set wildignorecase
+set shortmess+=c
 
 set noerrorbells
 if has('patch-7.4-793')

mercurial