1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated vimrc

This commit is contained in:
amix
2015-07-13 11:22:46 +01:00
parent 9a2843c2a5
commit d7752b59ae
301 changed files with 4699 additions and 7969 deletions

View File

@ -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()