summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-28 00:29:39 +0200
committertv <tv@shackspace.de>2014-07-28 00:30:00 +0200
commit5e499515a72350c6a39eda6ae18f4b589097b91f (patch)
treec14f3bd2aa0f805012706db875fd529f037bed45
parentd59175ab186d2c8d63ae75d4a13cad91a1933c4d (diff)
move cursor with <Left> and <Right> in NormalMode
-rw-r--r--Main.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Main.hs b/Main.hs
index a64ea2d..72cc859 100644
--- a/Main.hs
+++ b/Main.hs
@@ -353,6 +353,8 @@ nmap =
, ("l", MotionCommand $ GotoRight 1)
, ("b", MotionCommand $ WordsBackward 1)
, ("w", MotionCommand $ WordsForward 1)
+ , ("\x1b[C", MotionCommand $ GotoRight 1)
+ , ("\x1b[D", MotionCommand $ GotoLeft 1)
, ("\x0a", ExecuteInputBuffer <> ChangeMode InsertMode)
]