mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Remove Auto Align in insert mode #115
Since realigning doesn't work well in insert mode, I have removed auto align feature for it. Auto align will now kick in once you have made changes and get back to normal mode.
This commit is contained in:
@@ -98,7 +98,7 @@ function! s:ToggleAutoAlign() "{{{2
|
||||
augroup TableModeAutoAlign
|
||||
au!
|
||||
|
||||
autocmd CursorHold,CursorHoldI * nested silent! call tablemode#table#Realign('.')
|
||||
autocmd CursorHold <buffer> nested silent! call tablemode#table#Realign('.')
|
||||
augroup END
|
||||
else
|
||||
silent! augroup! TableModeAutoAlign
|
||||
|
||||
Reference in New Issue
Block a user