mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -33,6 +33,9 @@ let s:settings = {
|
||||
\ 'debug_latency': 0,
|
||||
\ }
|
||||
|
||||
let g:multi_cursor_insert_maps = get(g:, 'multi_cursor_insert_maps', {})
|
||||
let g:multi_cursor_normal_maps = get(g:, 'multi_cursor_normal_maps', {})
|
||||
|
||||
let s:settings_if_default = {
|
||||
\ 'quit_key': '<Esc>',
|
||||
\ 'next_key': '<C-n>',
|
||||
@ -53,9 +56,17 @@ endif
|
||||
" External mappings
|
||||
if exists('g:multi_cursor_start_key')
|
||||
exec 'nnoremap <silent> '.g:multi_cursor_start_key.
|
||||
\' :call multiple_cursors#new("n")<CR>'
|
||||
\' :call multiple_cursors#new("n", 0)<CR>'
|
||||
exec 'xnoremap <silent> '.g:multi_cursor_start_key.
|
||||
\' :<C-u>call multiple_cursors#new("v")<CR>'
|
||||
\' :<C-u>call multiple_cursors#new("v", 0)<CR>'
|
||||
endif
|
||||
|
||||
if exists('g:multi_cursor_start_word_key')
|
||||
exec 'nnoremap <silent> '.g:multi_cursor_start_word_key.
|
||||
\' :call multiple_cursors#new("n", 1)<CR>'
|
||||
" In Visual mode word boundary is not used
|
||||
exec 'xnoremap <silent> '.g:multi_cursor_start_word_key.
|
||||
\' :<C-u>call multiple_cursors#new("v", 0)<CR>'
|
||||
endif
|
||||
|
||||
" Commands
|
||||
|
Reference in New Issue
Block a user