瀏覽代碼

Add some arbitrary vim bindings for common devel commands

Alois Mahdal 10 月之前
父節點
當前提交
91a440fd5f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      dotfiles/vim/vimrc

+ 3
- 0
dotfiles/vim/vimrc 查看文件

@@ -85,6 +85,9 @@ nnoremap ,m :previous<CR>
85 85
 nnoremap ,. :next<CR>
86 86
 nnoremap ,l :ls<CR>
87 87
 nnoremap ,w :set wrap!<CR>
88
+nnoremap ,s :w <bar> !git slurp<CR>
89
+nnoremap ,v :w <bar> !make vdk_test<CR>
90
+nnoremap ,t :w <bar> !make test<CR>
88 91
 
89 92
 if has("autocmd")
90 93
   filetype plugin indent on