]> git.rmz.io Git - dotfiles.git/commitdiff
vim: leader cr will :make
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 4 Jun 2014 00:42:34 +0000 (01:42 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 4 Jun 2014 00:42:34 +0000 (01:42 +0100)
vim/vimrc

index cf299bf9ee4c5e4d1576bd96ccc6321b160606f9..55b81e0f51e347c90e52f4514c45b930450c6c81 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -53,6 +53,7 @@ filetype plugin indent on
 " bindings {{{1
 " allow both <space> and / to be <leader>
 map <space> <leader>
+nnoremap <leader><cr> :make<cr>
 
 " moving around, searching and patterns {{{1
 set incsearch           " show match for partly typed search command