Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

I am using a command that opens the git diff output of the selected file in a menu. however the output in the menu is not colored as opposed to normal diff output in terminal. Using git diff --color also doesn't help.

command! Gdiff git diff %c %m

1 Answer

0 votes
by
selected by
 
Best answer

That's expected. Menus don't yet parse escape sequences like quick preview or view mode. They weren't updated to do that after introducing corresponding parser. It's not trivial when it comes to horizontal scrolling, searching and highlighting of search results on top of handling UTF-8 data, but is doable since it works in view mode.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...