]> git.rmz.io Git - dotfiles.git/commitdiff
vim: silent GTest mappings + additional mappings
authorSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 22:42:51 +0000 (22:42 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 22:42:51 +0000 (22:42 +0000)
vim/vimrc

index 38e050a63778f30943c94a34083b50040efc6daf..ddc53d985af39f0ec88fd3e0930313d9a558fd15 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -760,9 +760,11 @@ nmap ga <Plug>(EasyAlign)
 " vim-gtest {{{2
 let g:gtest#highlight_failing_tests = 0
 
-nnoremap <Leader>tt :GTestRun<CR>
-nnoremap <Leader>ta :GTestCase *<CR>:GTestName *<CR>:GTestRun<CR>
-nnoremap <Leader>tu :GTestRunUnderCursor<CR>
+nnoremap <silent> <Leader>tt :GTestRun<CR>
+nnoremap          <Leader>tc :GTestCase<space>
+nnoremap          <Leader>tn :GTestName<space>
+nnoremap <silent> <Leader>ta :GTestCase *<CR>:GTestName *<CR>:GTestRun<CR>
+nnoremap <silent> <Leader>tu :GTestRunUnderCursor<CR>
 
 " vim-json {{{2
 let g:vim_json_syntax_conceal = 0