about summary refs log tree commit diff stats
path: root/vimrc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc.vim')
-rw-r--r--vimrc.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 0c297fef..66defa34 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -76,3 +76,6 @@ endif
 " see https://github.com/akkartik/mu/blob/master/subx/Readme.md#a-few-hints-for-debugging
 " the '-a' is because traces can sometimes contain unprintable characters that bother grep
 command! -nargs=0 L exec "%!grep -a label |grep -v clear-stream:loop"
+
+" run test cursor around cursor, then bring up its trace in a split window
+noremap <Leader>t {j0:exec "!run_one_test.sh ".expand("%")." <C-R><C-W>"<CR>:vert split last_run<CR><C-w>p<C-o>