title: Programmer's VIM setup for Finnish/Swedish or other non-US keyboard layout
body: <p>I've been recently learning some VIM hackery and I have learned a lot of useful commands and gotten pretty efficient at editing text with VIM. I'm using the Finnish qwerty keyboard layout (see image below) which is pretty horrible for programming. All your usual coding special characters <code>()[]{}/\</code> happen by pressing either <kbd>shift</kbd> or <kbd>alt gr</kbd> and a <kbd>number</kbd> key, but I'm already pretty used to that. I do not want to change my keyboard layout since I do quite a lot of writing and IRC chatting in my native language and for that I need the <code>ä</code> and <code>ö</code> characters (the <code>å</code> is useless for me, only the Swedes use that). </p>
  
  <p>My problem is that some VIM commands have a pretty difficult keymapping by default, for example go-to-tag-under-cursor is ^] which translates to <kbd>Ctrl</kbd>-<kbd>AltGr</kbd>-<kbd>9</kbd> on a Finnish keyboard. This requires me to press the <kbd>left control</kbd> key with my left hand, <kbd>alt gr</kbd> with my right thumb and extending my right index finger to the <kbd>number 9</kbd> key. This feels like using emacs and/or playing classical guitar. Not exactly ergonomic.</p>
  
  <p>Here's what the keyboard layout looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/leHzl.png" alt="sweden keyboard"></p>
  
  <p>NOTE: the keys that are marked blue are written by pressing <kbd>AltGr</kbd> (right alt) and the appropriate key. The red ones are two-key compose characters or dead keys which do not give out a character by them selves. F.ex. to type the <code>ü</code> character you first press the <kbd>¨^~</kbd> key and then <kbd>u</kbd>. Same goes for the accent keys. These dead keys are unmappable in VIM.</p>
  
  <p>So basically I have 3 extra alphabetical keys (<kbd>ä</kbd><kbd>ö</kbd><kbd>å</kbd>) available, but they cannot be mapped more than once, modifier keys do not work with them (in VIM). I can map something to <code>ä</code>, but not <code>Ä</code> or <code>&lt;C-ä&gt;</code>.</p>
  
  <p>Now I'm looking for ideas for my VIM setup from fellow Finnish/Swedish or other non-US keyboard layout users. Please share your key mappings, .vimrc tips and anything else that might be useful.</p>