Re: set iminsert: why global, not local?

2017-07-18 Thread RingoRangoRongo
On Tuesday, July 18, 2017 at 10:45:13 PM UTC+3, Christian Brabandt wrote: > known bug: > https://groups.google.com/d/msg/vim_dev/HpwZWJojl3E/4zCBH3qWQ5IJ Thanks, Christian! Now, having in mind this and also what Tony has said ("setting 'keymap' on a given buffer also sets 'iminsert' to 1 on

Re: set iminsert: why global, not local?

2017-07-18 Thread Christian Brabandt
On Di, 18 Jul 2017, RingoRangoRongo wrote: > Am I missing something, or is it impossible to set iminsert for a specific > buffer only, not for Vim globally? known bug: https://groups.google.com/d/msg/vim_dev/HpwZWJojl3E/4zCBH3qWQ5IJ Best, Christian -- Ein alter Mann ist ein Kind mit

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 8:34 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Thanks for your reply, Tony! > > 1-2. Then I AM missing something, I assume: http://i.imgur.com/1SqcHwW.gif > Like, why the Russian keymap — even though set locally via "setlocal > iminsert=1" — applies to all buffers?

Re: set iminsert: why global, not local?

2017-07-18 Thread RingoRangoRongo
Thanks for your reply, Tony! 1-2. Then I AM missing something, I assume: http://i.imgur.com/1SqcHwW.gif Like, why the Russian keymap — even though set locally via "setlocal iminsert=1" — applies to all buffers? 3. Well, I seem to understand why exactly this behavior happens ("characters

Re: set iminsert: why global, not local?

2017-07-18 Thread Tony Mechelynck
On Tue, Jul 18, 2017 at 6:48 PM, RingoRangoRongo <9876...@gmail.com> wrote: > Hi, > > > Am I missing something, or is it impossible to set iminsert for a specific > buffer only, not for Vim globally? > > I mean, I have "set keymap=russian-jcukenmac; set iminsert=0", and if I > switch to the