about summary refs log tree commit diff stats
path: root/edit
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-05-29 14:21:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-05-29 14:21:32 -0700
commit2c678a4e1d7f97c862342ee19cf2d6ee6e901d85 (patch)
treeaa2954661eac22bd347e3fe28262a99481d42ff1 /edit
parent0bc6fbd396f35e8dfd5cf5f5827b4ba665c3fcdf (diff)
downloadmu-2c678a4e1d7f97c862342ee19cf2d6ee6e901d85.tar.gz
3897 - various updates to documentation
Diffstat (limited to 'edit')
-rw-r--r--edit/Readme.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/edit/Readme.md b/edit/Readme.md
index 280c3500..3a18567e 100644
--- a/edit/Readme.md
+++ b/edit/Readme.md
@@ -31,3 +31,21 @@ stage your learning.
 
 To see how the various 'layers' are organized, peek inside the individual
 `.mu` files.
+
+---
+
+Appendix: keyboard shortcuts
+
+  _moving and scrolling_
+  - `ctrl-a` or `home`: move cursor to start of line
+  - `ctrl-e` or `end`: move cursor to end of line
+  - `ctrl-f` or `page-down`: scroll down by one page
+  - `ctrl-b` or `page-up`: scroll up by one page
+  - `ctrl-x`: scroll down by one line
+  - `ctrl-s`: scroll up by one line
+  - `ctrl-t`: scroll until current line is at top of screen
+
+  _modifying text_
+  - `ctrl-k`: delete text from cursor to end of line
+  - `ctrl-u`: delete text from start of line until just before cursor
+  - `ctrl-/`: comment/uncomment current line (using a special leader to ignore real comments https://www.reddit.com/r/vim/comments/4ootmz/_/d4ehmql)