Re: [PATCH] Switch vi-insert TAB binding only for the default binding

2019-02-17 Thread Chet Ramey
On 2/15/19 6:58 PM, Koichi Murase wrote: >> There is a third option: turning posix mode on saves the old binding >> for TAB; turning it off restores it. That, combined with a check of >> whether or not the binding was still TAB:self-insert, should handle >> both cases. > > Thank you for your reply

Re: [PATCH] Switch vi-insert TAB binding only for the default binding

2019-02-15 Thread Koichi Murase
> There is a third option: turning posix mode on saves the old binding > for TAB; turning it off restores it. That, combined with a check of > whether or not the binding was still TAB:self-insert, should handle > both cases. Thank you for your reply. I am fine with the third option as far as `loca

Re: [PATCH] Switch vi-insert TAB binding only for the default binding

2019-02-15 Thread Chet Ramey
On 2/10/19 7:53 PM, Koichi Murase wrote: > > There may be several choices to fix this. > > a. One is to introduce a new variable that memorizes whether the > binding has been defined by users or not. Or, maybe there are other > ways to manage the information. Then, only when the binding is n

[PATCH] Switch vi-insert TAB binding only for the default binding

2019-02-10 Thread Koichi Murase
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -O2 -march=native -Wno-parentheses -Wno-format-security uname output: Linux padparadscha 4.13.13-100.fc25.i686 #1 SMP Wed Nov 15 18:24:19 UTC 2017 i686 i686 i386 GNU/Lin