diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-02-23 13:29:35 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-02-23 13:29:35 -0800 |
commit | ed4e645306a3679cebe1ef273f3a33221d713f23 (patch) | |
tree | bcbd89a5190e5c60b4db90ac965a8f500b59a769 | |
parent | 87ea70754d9c2f4984f41a866c4547c722fe7571 (diff) | |
download | mu-ed4e645306a3679cebe1ef273f3a33221d713f23.tar.gz |
4985
-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" |