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 that same buffer as a side-effect"), I presume the following buffer-local keyboard switcher can be introduced as a workaround: inoremap <silent> <expr> <S-Tab> &keymap == "" \ ? '<C-o>:setlocal keymap=russian-jcukenmac<CR>' \ : '<C-o>:setlocal keymap=<CR>' Or will there be any problems? -- R -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.