kakrc: cleanup trailing whitespaces when quiting insert mode

This commit is contained in:
Maxime Coste 2011-12-21 18:58:41 +00:00
parent 70bb4847ee
commit c11b548662

View File

@ -1,4 +1,5 @@
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addhl hlcpp
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter preserve_indent
hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter cleanup_whitespaces
hook WinInsertEnd .* exec xs\h+(?=\n)<ret>d
hook WinCreate .* addhl regex \h+(?=\n) default red