about summary refs log tree commit diff stats
path: root/vimrc.vim
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-11-25 17:49:20 -0800
committerKartik Agaram <vc@akkartik.com>2019-11-25 17:49:20 -0800
commitf88f77cdabae2062903e24fc0a42108eccfe519d (patch)
tree2508540a05b15da138de3dc23614c4652332e858 /vimrc.vim
parente88ee4ee915174eed7b7b7cce1a072e322e887c1 (diff)
downloadmu-f88f77cdabae2062903e24fc0a42108eccfe519d.tar.gz
5758
Diffstat (limited to 'vimrc.vim')
-rw-r--r--vimrc.vim7
1 files changed, 2 insertions, 5 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 72280753..0200e01c 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -71,14 +71,11 @@ endif
 
 " useful for inspecting just the control flow in a trace
 " see https://github.com/akkartik/mu/blob/master/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"
+command! -nargs=0 L exec "%!grep label |grep -v clear-stream:loop"
 
 " run test around cursor
-" Unfortunately this only works with Linux at the moment.
-" Some compiler passes take too long to run in emulated mode.
 if empty($TMUX)
-  " hack: need to move cursor at outside function at start (`{j0`), but inside function at end (`<C-o>`)
+  " hack: need to move cursor outside function at start (`{`), but inside function at end (`<C-o>`)
   " this solution is unfortunate, but seems forced:
   "   can't put initial cursor movement inside function because we rely on <C-r><C-w> to grab word at cursor
   "   can't put final cursor movement out of function because that disables the wait for <CR> prompt; function must be final operation of map