summaryrefslogtreecommitdiff
path: root/Editor
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-04 13:05:35 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-04 13:05:57 +0100
commite02eca2a5e6c605660f9ad4080f52b80bc67e931 (patch)
treebb615508c24f8c49b0f07d1ed7bce89800c364ba /Editor
parentb74fcd0a376c25bfe2ea6b55fe855fe0c122e81c (diff)
downloadserenity-e02eca2a5e6c605660f9ad4080f52b80bc67e931.zip
Add vi-like 'a' command.
Diffstat (limited to 'Editor')
-rw-r--r--Editor/Editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp
index 0ad3b3edd0..be16065e8e 100644
--- a/Editor/Editor.cpp
+++ b/Editor/Editor.cpp
@@ -151,6 +151,7 @@ int Editor::exec()
case 'k': move_up(); break;
case 'l': move_right(); break;
case 'i': set_mode(EditingDocument); break;
+ case 'a': move_right(); set_mode(EditingDocument); break;
case 'q': m_should_quit = true; break;
case '\\': set_mode(EditingCommand); break;
}