Skip to content

Instantly share code, notes, and snippets.

dumblob / git-tools.kak
Created Mar 25, 2014
git-tools.kak - POSIX compliant rewrite [NOT tested!]
View git-tools.kak
decl str docsclient
hook global WinSetOption filetype=git-log %{
addhl group git-log-highlight
addhl -group git-log-highlight regex '^(commit) ([0-9a-f]+)$' 1:yellow 2:red
addhl -group git-log-highlight regex '^([a-zA-Z_-]+:) (.*?)$' 1:green 2:magenta
hook global WinSetOption filetype=(?!git-log).* %{
rmhl git-log-highlight
You can’t perform that action at this time.