mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-13 05:23:46 -05:00
Updated plugin mappings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user