commit f0850f173f83a71e9474491477452d532b3a011c
parent 9878755eb39b6fd1885afaf774ad9381e3cd1c0d
Author: Ed van Bruggen <edvb54@gmail.com>
Date: Wed, 3 Feb 2016 22:04:52 -0800
Vim: Add more leader mappings, c for ctags and m for make run
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/vimrc b/vimrc
@@ -293,9 +293,8 @@ nnoremap <C-L> :bnext<CR>
nnoremap <C-J> <C-D>
nnoremap <C-K> <C-U>
-cnoremap mr<CR> make run<CR>
-
-inoremap /* /* */<Left><Left><Left>
+nnoremap <leader>m :make run<CR>
+nnoremap <leader>c :!ctags -R .<CR>
" pair completion{{{2
inoremap { {}<Left>