From 28d80f4abc15d1e3d3b9e60d12836a0926bcd85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 6 Oct 2020 22:32:50 +0200 Subject: kmein config: use new functions --- config/kmein.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/kmein.hs') diff --git a/config/kmein.hs b/config/kmein.hs index 6d50dab..91869a2 100644 --- a/config/kmein.hs +++ b/config/kmein.hs @@ -119,8 +119,8 @@ myKeymap "h" = closeFold myKeymap "l" = openFold myKeymap " " = toggleFold -myKeymap "g" = moveCursorUp 150 -myKeymap "G" = moveCursorDown 150 +myKeymap "g" = moveCursorToThread >=> moveCursorToFirstOnSameLevel +myKeymap "G" = moveCursorToThread >=> moveCursorToLastOnSameLevel myKeymap "k" = moveCursorUp 1 myKeymap "j" = moveCursorDown 1 myKeymap "\ESC[A" = moveCursorDown 1 @@ -128,6 +128,8 @@ myKeymap "\ESC[B" = moveCursorUp 1 myKeymap "\ESC[C" = moveTreeLeft 10 -- left myKeymap "\ESC[D" = moveTreeRight 10 -- right +myKeymap "H" = moveCursorToThread + myKeymap "r" = notmuchSearch myKeymap "R" = reply -- cgit v1.2.3