From 4e41af8e5f0bf53326d1b83c2feb1eff89fe90d4 Mon Sep 17 00:00:00 2001 From: Dhruva Sagar Date: Thu, 20 Apr 2017 10:08:18 +0530 Subject: [PATCH] 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. --- README.md | 2 +- autoload/tablemode.vim | 2 +- doc/table-mode.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5149ccf..28d9a0c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# VIM Table Mode v4.6.6 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode) +# VIM Table Mode v4.6.7 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode) An awesome automatic table creator & formatter allowing one to create neat tables as you type. diff --git a/autoload/tablemode.vim b/autoload/tablemode.vim index 479739f..c5542e6 100644 --- a/autoload/tablemode.vim +++ b/autoload/tablemode.vim @@ -98,7 +98,7 @@ function! s:ToggleAutoAlign() "{{{2 augroup TableModeAutoAlign au! - autocmd CursorHold,CursorHoldI * nested silent! call tablemode#table#Realign('.') + autocmd CursorHold nested silent! call tablemode#table#Realign('.') augroup END else silent! augroup! TableModeAutoAlign diff --git a/doc/table-mode.txt b/doc/table-mode.txt index 1023dc1..3022e2a 100644 --- a/doc/table-mode.txt +++ b/doc/table-mode.txt @@ -1,7 +1,7 @@ *table-mode.txt* Table Mode for easy table formatting =============================================================================== Table Mode, THE AWESOME AUTOMATIC TABLE CREATOR & FORMATTER - VERSION 4.6.6 + VERSION 4.6.7 Author: Dhruva Sagar License: MIT @@ -379,7 +379,7 @@ MAPPINGS *table-mode-mappings* || Expands to a header border. You can change this by changing |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. ===============================================================================