All Questions
Tagged with key-bindings keyboard-layout
7 questions
148
votes
17
answers
196k
views
Other ways to exit Insert mode besides Escape
The primary reason I like vim over emacs is that my hand movement distance away from the home row is very low (even as a programmer). However, the one main time that I do this is leaving insert mode, ...
15
votes
1
answer
2k
views
Can't map German 'umlaut' keys in .vimrc
I'm trying to find a way to map German umlaut keys (Ä,ä,Ö,ö,Ü,ü).
A simple shortcut like this won't work:
inoremap <c-ö> <Esc>
Nothing happens when I hit ctrl+ö.
Does anyone know a ...
22
votes
4
answers
6k
views
What is the most convenient way to work with different keyboards in vim?
I sometimes need to write Greek words, but when I am using the Greek keyboard, hitting, say, <C-p> will be understood as <C-π> and not as the command I intend. This can be fixed with :map &...
10
votes
1
answer
19k
views
How to enter tilde (~), back tick (`) and special chars with a non-US keyboard?
I usually use Vim with an Italian keyboard (I'm from Italy),
(mainly in an Ubuntu Linux Virtualbox guest from a Windows host).
I have problems when I have to enter some frequently used characters (...
9
votes
2
answers
726
views
How can I create a pseudo insert mode with a different keymap?
I am in the slightly unusual position of using two different keyboard layouts on a regular basis (Programmers-Dvorak and Turkish-F). These layouts are quite different from each-other and I am only ...
3
votes
1
answer
131
views
Auto replace special programming characters
Programming in Javascript and similar syntax languages we use a lot of {} and (), more so than [] and the 90. Therefore we end up using SHIFT a lot.
Is there a way to make it so that when I type [ ...
3
votes
3
answers
573
views
How do I swap key bindings without breaking plugins?
I'm thinking about exchanging some keys while in non insert-mode so that the bindings that I use most are easier to reach (i.e. on the home row).
How can I swap two keys without breaking the ...