mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated vimrc
This commit is contained in:
@ -44,7 +44,7 @@ let s:before_function_called = 0
|
||||
|
||||
" Used for searching whole words (search pattern is wrapped with \< and \>)
|
||||
" Keep old behaviour by default (act like g*)
|
||||
let s:use_word_boundary = 0
|
||||
let s:use_word_boundary = 1
|
||||
|
||||
" Set up highlighting
|
||||
if !hlexists(s:hi_group_cursor)
|
||||
@ -170,6 +170,11 @@ function! multiple_cursors#new(mode, word_boundary)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" Quit out of multicursor mode, fixes #27.
|
||||
function! multiple_cursors#quit()
|
||||
call s:exit()
|
||||
endfunction
|
||||
|
||||
" Delete the current cursor. If there's no more cursors, stop the loop
|
||||
function! multiple_cursors#prev()
|
||||
call s:cm.delete_current()
|
||||
|
Reference in New Issue
Block a user