14
Here’s the thing. I have two keyboard layouts, ‘HR’ (Croatian, my native language) and ‘EN’ (English). Well, actually I have some more but they’re not important at the moment.
When working with Vim, I often have to switch to ‘EN’—since on ‘HR’ I don't have neither [,], nor {,}, nor a lot of other characters—and then switch back to ‘HR’ for my own language characters. This is a pain.
Of course, since I’m working without a taskbar, this often results in wasted Shift key presses.
Is there a way within Vim to “detect” a keyboard layout set, evaluate it, and put it in status line?
I’ve tried remapping some keys (like tilda to backtick) but that just introduced a whole new lot of problems.
All advice on this (not thought of here) will be appreciated.