Просмотр исходного кода

Add some arbitrary vim bindings for common devel commands

Alois Mahdal 1 год назад
Родитель
Сommit
91a440fd5f
1 измененных файлов: 3 добавлений и 0 удалений
  1. 3
    0
      dotfiles/vim/vimrc

+ 3
- 0
dotfiles/vim/vimrc Просмотреть файл

85
 nnoremap ,. :next<CR>
85
 nnoremap ,. :next<CR>
86
 nnoremap ,l :ls<CR>
86
 nnoremap ,l :ls<CR>
87
 nnoremap ,w :set wrap!<CR>
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
 if has("autocmd")
92
 if has("autocmd")
90
   filetype plugin indent on
93
   filetype plugin indent on