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:
@@ -1,4 +1,4 @@
|
|||||||
# VIM Table Mode v4.6.6 [](https://travis-ci.org/dhruvasagar/vim-table-mode)
|
# VIM Table Mode v4.6.7 [](https://travis-ci.org/dhruvasagar/vim-table-mode)
|
||||||
|
|
||||||
An awesome automatic table creator & formatter allowing one to create neat
|
An awesome automatic table creator & formatter allowing one to create neat
|
||||||
tables as you type.
|
tables as you type.
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ function! s:ToggleAutoAlign() "{{{2
|
|||||||
augroup TableModeAutoAlign
|
augroup TableModeAutoAlign
|
||||||
au!
|
au!
|
||||||
|
|
||||||
autocmd CursorHold,CursorHoldI * nested silent! call tablemode#table#Realign('.')
|
autocmd CursorHold <buffer> nested silent! call tablemode#table#Realign('.')
|
||||||
augroup END
|
augroup END
|
||||||
else
|
else
|
||||||
silent! augroup! TableModeAutoAlign
|
silent! augroup! TableModeAutoAlign
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
*table-mode.txt* Table Mode for easy table formatting
|
*table-mode.txt* Table Mode for easy table formatting
|
||||||
===============================================================================
|
===============================================================================
|
||||||
Table Mode, THE AWESOME AUTOMATIC TABLE CREATOR & FORMATTER
|
Table Mode, THE AWESOME AUTOMATIC TABLE CREATOR & FORMATTER
|
||||||
VERSION 4.6.6
|
VERSION 4.6.7
|
||||||
|
|
||||||
Author: Dhruva Sagar <http://dhruvasagar.com/>
|
Author: Dhruva Sagar <http://dhruvasagar.com/>
|
||||||
License: MIT <http://opensource.org/licenses/MIT/>
|
License: MIT <http://opensource.org/licenses/MIT/>
|
||||||
@@ -379,7 +379,7 @@ MAPPINGS *table-mode-mappings*
|
|||||||
|
|
||||||
|| Expands to a header border. You can change this by changing
|
|| Expands to a header border. You can change this by changing
|
||||||
|table-mode-separator| option. You can change the character to
|
|table-mode-separator| option. You can change the character to
|
||||||
be used for te extreme corners of the border by changing
|
be used for the extreme corners of the border by changing
|
||||||
|table-mode-corner-corner| option.
|
|table-mode-corner-corner| option.
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user