commit 150d1aca69cf0f40e94859de1d9140286b22ac7a
parent 7ea5c0d776d5138cdb9673f62d1c383735e3ac41
Author: Ed van Bruggen <edvb@uw.edu>
Date: Sun, 22 Apr 2018 23:57:08 -0700
vim: Add matlab commentary support
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/vimrc b/vimrc
@@ -80,8 +80,11 @@ let g:syntastic_c_compiler_options="--std=gnu99 -DVERSION"
" gitgutter options
let g:gitgutter_max_signs = 1000
+" commentary extra languages
+autocmd FileType matlab setlocal commentstring=%\ %s
+
" mappings{{{2
-" allow for F3 ro turn on Tagbar plug-in
+" turn on Tagbar plug-in
nmap <silent> <F3> :TagbarToggle<CR>
" GoldenView stuff
@@ -105,10 +108,6 @@ nnoremap <silent> <M-k> :TmuxNavigateUp<CR>
nnoremap <silent> <M-l> :TmuxNavigateRight<CR>
nnoremap <silent> <M-\> :TmuxNavigatePrevious<CR>
-" Easy Align mappings
-vmap <Enter> <Plug>(EasyAlign)
-nmap gA <Plug>(EasyAlign)
-
nnoremap <leader>a :A<CR>
nnoremap <silent> <leader>s :SyntasticToggleMode<CR>