.vimrc

changeset 631
8e07c29f2672
parent 630
e5aec7abb8b5
child 634
96b0221e52c5
equal deleted inserted replaced
630:e5aec7abb8b5 631:8e07c29f2672
47 Plugin 'nathangrigg/vim-beancount' 47 Plugin 'nathangrigg/vim-beancount'
48 48
49 Plugin 'powerman/vim-plugin-viewdoc' 49 Plugin 'powerman/vim-plugin-viewdoc'
50 Plugin 'powerman/vim-plugin-AnsiEsc' 50 Plugin 'powerman/vim-plugin-AnsiEsc'
51 51
52 let g:no_viewdoc_maps = 1 52 let g:no_viewdoc_maps = 1
53 let g:no_viewdoc_abbrev = 1
53 54
54 try 55 try
55 execute 'source ' . s:filename . '.local-pre' 56 execute 'source ' . s:filename . '.local-pre'
56 catch 57 catch
57 endtry 58 endtry
125 inoremap <expr> <c-y> mucomplete#popup_exit("\<c-y>") 126 inoremap <expr> <c-y> mucomplete#popup_exit("\<c-y>")
126 inoremap <expr> <cr> mucomplete#popup_exit("\<cr>") 127 inoremap <expr> <cr> mucomplete#popup_exit("\<cr>")
127 set shortmess+=c 128 set shortmess+=c
128 endif 129 endif
129 130
130 cabbr Q q 131 " Command Aliases {{{
131 cabbr W w 132 command! -nargs=+ CAlias call vimrc#CommandAlias(<f-args>)
133 CAlias Q q
134 CAlias W w
135
136 " make these default to one window/buffer too
137 CAlias doc ViewDoc!
138 CAlias help ViewDocHelp!
139 CAlias man ViewDocMan!
140 CAlias perldoc ViewDocPerl!
141 "}}}
142
132 "}}} 143 "}}}
133 144
134 " General settings {{{ 145 " General settings {{{
135 syntax on 146 syntax on
136 filetype plugin indent on 147 filetype plugin indent on

mercurial