mirror of
https://github.com/amix/vimrc
synced 2025-06-23 06:35:01 +08:00
Updated plugins
This commit is contained in:
@ -2,7 +2,7 @@ GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
diff-lcs (1.2.5)
|
||||
rake (12.3.3)
|
||||
rake (10.4.2)
|
||||
rspec (3.4.0)
|
||||
rspec-core (~> 3.4.0)
|
||||
rspec-expectations (~> 3.4.0)
|
||||
|
@ -103,6 +103,9 @@ let g:multi_cursor_quit_key = '<Esc>'
|
||||
## Settings
|
||||
Currently there are four additional global settings one can tweak:
|
||||
|
||||
### ```g:multi_cursor_support_imap``` (Default: 1)
|
||||
If set to 0, insert mappings won't be supported in _Insert_ mode anymore.
|
||||
|
||||
### ```g:multi_cursor_exit_from_visual_mode``` (Default: 0)
|
||||
If set to 1, then pressing `g:multi_cursor_quit_key` in _Visual_ mode will quit and
|
||||
delete all existing cursors, just skipping normal mode with multiple cursors.
|
||||
|
@ -1234,7 +1234,7 @@ function! s:wait_for_user_input(mode)
|
||||
" imap jj JJ
|
||||
" imap jjj JJJ
|
||||
" will always trigger the 'jj' mapping
|
||||
if s:from_mode ==# 'i' && mapcheck(s:char, "i") != ""
|
||||
if s:from_mode ==# 'i' && mapcheck(s:char, "i") != "" && g:multi_cursor_support_imap
|
||||
let map_dict = {}
|
||||
let s_time = s:get_time_in_ms()
|
||||
while 1
|
||||
|
@ -94,6 +94,10 @@ otherwise you'll have a tough time quitting from multicursor mode.
|
||||
|
||||
Currently there are four additional global settings one can tweak:
|
||||
|
||||
*g:multi_cursor_support_imap* (Default: 1)
|
||||
|
||||
If set to 0, insert mappings won't be supported in |insert-mode| anymore.
|
||||
|
||||
*g:multi_cursor_exit_from_visual_mode* (Default: 0)
|
||||
|
||||
If set to 0, then pressing |g:multi_cursor_quit_key| in |visual-mode| will quit
|
||||
|
@ -31,6 +31,7 @@ let s:settings = {
|
||||
\ 'exit_from_insert_mode': 0,
|
||||
\ 'use_default_mapping': 1,
|
||||
\ 'debug_latency': 0,
|
||||
\ 'support_imap': 1,
|
||||
\ }
|
||||
|
||||
let s:settings_if_default = {
|
||||
|
Reference in New Issue
Block a user