diff options
-rw-r--r-- | vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -621,6 +621,7 @@ function Textobj(char, callback) exe 'xnoremap <silent>i'.a:char.' <Esc>:call Textobj_'.g:text_object_number.'(1, "v", v:prevcount, '.cbname.')<CR>' endfunction " }}} +" Text objects {{{ " / for regex {{{ function Textobj_regex(inner, operator) let pos = getpos('.') @@ -673,4 +674,5 @@ xnoremap <silent>a/ <Esc>:<C-U>call Textobj_regex(0, 'v')<CR> xnoremap <silent>i/ <Esc>:<C-U>call Textobj_regex(1, 'v')<CR> " }}} " }}} +" }}} |