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')
|
||||
|
||||
if a:after
|
||||
execute "normal! ".quantity."p2l"
|
||||
execute "normal! ".quantity."pl"
|
||||
else
|
||||
execute "normal! ".quantity."Pl"
|
||||
execute "normal! ".quantity."P"
|
||||
endif
|
||||
|
||||
call tablemode#table#Realign('.')
|
||||
startinsert
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user