From 635047f7109d161d9ce1528d92d691c24132270e Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Sun, 15 Dec 2013 17:10:54 -0600 Subject: [PATCH] Fixed multicursor mapping to Ctrl-m so that it actually works --- README.md | 1 + vim/settings/vim-multiple-cursors.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cc44c7..4f348f8 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ of plugins above to learn more. * `,T` - Tag list (list of methods in a class) * `Ctrl-s` - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type * `,,w` (alias `,`) or `,,b` (alias `,`) - EasyMotion, a vimperator style tool that highlights jump-points on the screen and lets you type to get there. + * `Ctrl-m` - mark this word for MultiCursor (like sublime). Use `Ctrl-n` (next), `Ctrl-p` (prev), `Ctrl-x`(skip) to add more cursors, then do normal vim things like edit the word. #### File Navigation * `,t` - CtrlP fuzzy file selector diff --git a/vim/settings/vim-multiple-cursors.vim b/vim/settings/vim-multiple-cursors.vim index fcd4049..07bdef7 100644 --- a/vim/settings/vim-multiple-cursors.vim +++ b/vim/settings/vim-multiple-cursors.vim @@ -2,7 +2,7 @@ let g:multi_cursor_use_default_mapping=0 " Switch to multicursor mode with Apple-* -let g:multi_cursor_start_key='' +let g:multi_cursor_start_key='' " Ctrl-n, Ctrl-p, Ctrl-x, and are mapped in the special multicursor " mode once you've added at least one virtual cursor to the buffer