Change multicursor to use ,mc instead of Ctrl-m which was screwing up other behavior

This commit is contained in:
Yan Pritzker 2013-12-16 08:43:09 -06:00
parent 2c11049fcc
commit 6edbf701e7
2 changed files with 4 additions and 3 deletions

View File

@ -184,7 +184,7 @@ of plugins above to learn more.
* `,T` - Tag list (list of methods in a class) * `,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 * `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 `,<esc>`) or `,,b` (alias `,<shift-esc>`) - EasyMotion, a vimperator style tool that highlights jump-points on the screen and lets you type to get there. * `,,w` (alias `,<esc>`) or `,,b` (alias `,<shift-esc>`) - 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 #### File Navigation
* `,t` - CtrlP fuzzy file selector * `,t` - CtrlP fuzzy file selector

View File

@ -1,8 +1,8 @@
" Turn off default key mappings " Turn off default key mappings
let g:multi_cursor_use_default_mapping=0 let g:multi_cursor_use_default_mapping=0
" Switch to multicursor mode with Apple-* " Switch to multicursor mode with ,mc
let g:multi_cursor_start_key='<C-m>' let g:multi_cursor_start_key=',mc'
" Ctrl-n, Ctrl-p, Ctrl-x, and <Esc> are mapped in the special multicursor " Ctrl-n, Ctrl-p, Ctrl-x, and <Esc> are mapped in the special multicursor
" mode once you've added at least one virtual cursor to the buffer " mode once you've added at least one virtual cursor to the buffer
@ -10,3 +10,4 @@ let g:multi_cursor_next_key='<C-n>'
let g:multi_cursor_prev_key='<C-p>' let g:multi_cursor_prev_key='<C-p>'
let g:multi_cursor_skip_key='<C-x>' let g:multi_cursor_skip_key='<C-x>'
let g:multi_cursor_quit_key='<Esc>' let g:multi_cursor_quit_key='<Esc>'