summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2020-10-06 22:32:50 +0200
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2020-10-06 22:53:52 +0200
commit28d80f4abc15d1e3d3b9e60d12836a0926bcd85a (patch)
tree00c8613198c0c259328000f36dbc9eb320d09b91 /config
parent26f7369897116991316cfcbd79fd11d4b5f4f1ea (diff)
kmein config: use new functions
Diffstat (limited to 'config')
-rw-r--r--config/kmein.hs6
1 files changed, 4 insertions, 2 deletions
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