From 6edbf701e75b133edeb398bb65ab7f33acf90382 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Mon, 16 Dec 2013 08:43:09 -0600 Subject: [PATCH] Change multicursor to use ,mc instead of Ctrl-m which was screwing up other behavior --- README.md | 2 +- vim/settings/vim-multiple-cursors.vim | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b85f33..ae94a8d 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,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. + * `,mc` - 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 07bdef7..aeb01ee 100644 --- a/vim/settings/vim-multiple-cursors.vim +++ b/vim/settings/vim-multiple-cursors.vim @@ -1,8 +1,8 @@ " Turn off default key mappings let g:multi_cursor_use_default_mapping=0 -" Switch to multicursor mode with Apple-* -let g:multi_cursor_start_key='' +" Switch to multicursor mode with ,mc +let g:multi_cursor_start_key=',mc' " 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 @@ -10,3 +10,4 @@ let g:multi_cursor_next_key='' let g:multi_cursor_prev_key='' let g:multi_cursor_skip_key='' let g:multi_cursor_quit_key='' +