notmuch-vim icon indicating copy to clipboard operation
notmuch-vim copied to clipboard

programmable colors

Open mturquette opened this issue 11 years ago • 1 comments

I like my text interfaces to be pretty and, in particular, solarized. While my default vim and terminal emulator configurations do a good job of using the solarized color palette, I would prefer to have more control over how the folder, search and show buffers display their colorized text. In particular I would like to color code threads in the search buffer based on tags (unread, to-me, flagged, etc).

Does vim provide all that I need to do this today or does notmuch-vim need some for this?

mturquette avatar Nov 08 '14 02:11 mturquette

One solution is to create syntax files in ~/.vim/after/syntax and simply assign new values to the identifiers you want to change. E.g. open ~/.vim/after/syntax/notmuch-folders.vim and put this line there: """ highlight link nmFoldersSearch Comment """ (Default is String) Have a look at the shipped syntax files for possible identifiers.

ff2000 avatar Dec 16 '14 19:12 ff2000