From a2533983a4d340859ba3f7efe96f6ddb513f8cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 28 Mar 2016 11:15:04 +0100 Subject: Update README section about multiple cursor key bindings --- README.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 9773a6a..bb40757 100644 --- a/README.md +++ b/README.md @@ -195,29 +195,33 @@ Operators can be forced to work line wise by specifying `V`. To manipulate multiple cursors use in normal mode: - CTRL-K create a new cursor on the line above - CTRL-J create a new cursor on the line below - CTRL-P remove primary cursor - CTRL-N select word the cursor is currently over, switch to visual mode - CTRL-U make the previous cursor primary - CTRL-D make the next cursor primary - TAB try to align all cursor on the same column - ESC if a selection is active, clear it. - Otherwise dispose all but the primary cursor. + Ctrl-K create count new cursors on the lines above + Ctrl-Meta-K create count new cursors on the lines above the first cursor + Ctrl-J create count new cursors on the lines below + Ctrl-Meta-J create count new cursors on the lines below the last cursor + Ctrl-P remove primary cursor + Ctrl-N select word the cursor is currently over, switch to visual mode + Ctrl-U make the count previous cursor primary + Ctrl-D make the count next cursor primary + Tab try to align all cursor on the same column + Esc dispose all but the primary cursor Visual mode was enhanced to recognize: - I create a cursor at the start of every selected line - A create a cursor at the end of every selected line - CTRL-N create new cursor and select next word matching current selection - CTRL-X clear (skip) current selection, but select next matching word - CTRL-P remove primary cursor - CTRL-U make the previous cursor primary - CTRL-D make the next cursor primary + I create a cursor at the start of every selected line + A create a cursor at the end of every selected line + Tab left align selections by inserting spaces + Shift-Tab right align selections by inserting spaces + Ctrl-N create new cursor and select next word matching current selection + Ctrl-X clear (skip) current selection, but select next matching word + Ctrl-P remove primary cursor + Ctrl-U make the count previous cursor primary + Ctrl-D make the count next cursor primary + Esc clear all selections, switch to normal mode In insert/replace mode - S-Tab aligns all cursors by inserting spaces + Shift-Tab align all cursors by inserting spaces ### Marks -- cgit v1.2.3