title: How to resolve the annoyance with switching keyboard layouts for different languages in Vim?
body: <p>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.</p>
  <p>When working with Vim, I often have to switch to ‘EN’—since on ‘HR’ I don't have neither <code>[</code>,<code>]</code>, nor <code>{</code>,<code>}</code>, nor a lot of other characters—and then switch back to ‘HR’ for my own language characters. This is a pain.</p>
  <p>Of course, since I’m working without a taskbar, this often results in wasted
  <kbd>Shift</kbd> key presses.</p>
  <p><strong>Is there a way within Vim to “detect” a keyboard layout set, evaluate it, and put it in status line?</strong></p>
  <p>I’ve tried remapping some keys (like tilda to backtick) but that just introduced a whole new lot of problems.</p>
  <p>All advice on this (not thought of here) will be appreciated.</p>