Move echo cell functionality to autoload. Fixes #206

This commit is contained in:
Dhruva Sagar
2021-09-04 23:24:42 +05:30
parent 35e9fbf64c
commit 02d28b9323
2 changed files with 7 additions and 9 deletions

View File

@@ -420,3 +420,9 @@ function! tablemode#spreadsheet#Sort(bang, ...) range "{{{2
call tablemode#spreadsheet#MoveToStartOfCell()
exec ':undojoin | '.firstRow.','.lastRow . 'sort'.bang opts '/.*\%'.col.'v/'
endfunction
function! tablemode#spreadsheet#EchoCell()
if tablemode#table#IsRow('.')
echomsg '$' . tablemode#spreadsheet#RowNr('.') . ',' . tablemode#spreadsheet#ColumnNr('.')
endif
endfunction