Open zoumi opened 3 years ago
FWIW, it looks like Vim itself adds the "||" to the quickfix contents when displaying them. You can verify this by inspecting the list returned from getqflist()
-- the quickfix entries themselves do not contain the leading "||".
I searched around for a way to modify the way Vim displays the quickfix list, but it doesn't appear to be configurable. Your best (only?) bet may be to use an autocommand to temporarily make the quickfix buffer modifiable, and then to do a substitution to remove the leading pipes. At that point, though, you may begin to wonder (as I did) if the quickfix buffer is really the right tool for the job...
try this:
:AsyncRun -mode=term -pos=TAB ls -la
Thanks! I didn't even think of using the built-in terminal. (I don't have much experience with it.) This indeed gets rid of the leading pipes, and feels like the more appropriate tool for my particular use case.
But that makes the qf not to update :(
"||" is a part of quickfix window, you can copy content from quickfix and remove the first 2 columns.
asyncrun.vim will output something like this
I need copy the output of my cmd. Can I tell asyncrun.vim to not add "||" at the begin of line? (I need error format be captured, so I can't use "-raw" option)