Don't expand after which
?
#159
Unanswered
henrebotha
asked this question in
Ideas
Replies: 1 comment 2 replies
-
You must have a global abbreviation v -> vim? Is it enough to tack on a semicolon or a space? which v;[enter] or which v[ctrl space][enter] # or whatever binding is configured to let you do `space` without expanding |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just thinking out loud. I use
which vim
to discover thatvim
is actually an alias forvim -X
. But I can't usewhich v
to discover thatv
is an abbreviation forvim
, because abbr is too smart and expands the command towhich vim
.What if abbr were a bit cheeky and didn't expand abbreviations specifically when invoking
which
? Is that useful? Does it make sense? I don't know. Sound off in the comments.Beta Was this translation helpful? Give feedback.
All reactions