From c11b548662f182b5104e69797913579740a47fa4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 21 Dec 2011 18:58:41 +0000 Subject: [PATCH] kakrc: cleanup trailing whitespaces when quiting insert mode --- src/kakrc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kakrc b/src/kakrc index e175a484..ac71519e 100644 --- a/src/kakrc +++ b/src/kakrc @@ -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)d hook WinCreate .* addhl regex \h+(?=\n) default red