Expand global abbreviation after colon? #195
-
|
Is this currently possible? That is to say: Can things be configured such that global abbreviations get expanded after a colon ( I assume it's not. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
I think it's currently not. The LBUFFER (command line to the left of the cursor) is split with edit: fixed the mistake input="a:b"; fragments=( ${(z)input} ); for fragment in $fragments; do echo $fragment; doneIn the earliest early versions I attempted to roll my own splitter, which would split on whitespace and various non-letter characters. It gave me trouble. Thinking about it now, if this were worth doing it might work to build on |
Beta Was this translation helpful? Give feedback.
-
|
Can't mark an sub-comment as the answer, so linking here |
Beta Was this translation helpful? Give feedback.
Can't mark an sub-comment as the answer, so linking here
#195 (reply in thread)