diff options
-rw-r--r-- | vimrc.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc.vim b/vimrc.vim index b60f922a..adbb9403 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -105,3 +105,8 @@ if exists("&splitvertical") else command! -nargs=0 P split opcodes endif + +" useful for inspecting just the control flow in a trace +" 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" |