mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Start insert mode after adding a column
This commit is contained in:
@@ -234,12 +234,13 @@ function! tablemode#spreadsheet#InsertColumn(after) "{{{2
|
|||||||
\ 'b')
|
\ 'b')
|
||||||
|
|
||||||
if a:after
|
if a:after
|
||||||
execute "normal! ".quantity."p2l"
|
execute "normal! ".quantity."pl"
|
||||||
else
|
else
|
||||||
execute "normal! ".quantity."Pl"
|
execute "normal! ".quantity."P"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call tablemode#table#Realign('.')
|
call tablemode#table#Realign('.')
|
||||||
|
startinsert
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user