Updated plugin mappings

This commit is contained in:
Dhruva Sagar
2014-04-06 11:56:30 +05:30
parent b63b0401a0
commit f20ff17b42
4 changed files with 15 additions and 24 deletions

View File

@@ -779,15 +779,14 @@ function! tablemode#table#TableMotion(direction, ...) "{{{2
endif
endfunction
function! tablemode#table#CellTextObject() "{{{2
function! tablemode#table#CellTextObject(inner) "{{{2
if tablemode#table#IsATableRow('.')
call s:MoveToStartOfCell()
if v:operator ==# 'y'
if a:inner
normal! v
call search('[^' . g:table_mode_separator . ']\ze\s*' . g:table_mode_separator)
else
execute 'normal! vf' . g:table_mode_separator
execute 'normal! vf' . g:table_mode_separator . 'l'
endif
endif
endfunction