What is the best way to write faster on Vim using a non-english keyboard?
I usually use Vim, and its great for the ability to do faster some actions than ot开发者_运维问答her editors. However, since I live in Argentina I have a Latin American keyboard, that makes everything in Vim pretty slower (to write / to search, I must press Shift+7).
Since I don't want to be changing Keyboard layouts all the time (and its pretty difficult to get used to pressing symbols as in an English keyboard), I was wondering if there was a vim plugin (of .vimrc file) that may be useful for international users.
Just for the sake of it, here's how the Latin American keyboard is laid out:
(source: support at pages.slc.edu)By the way, I would love to go and buy an English keyboard, but unfortunately I use a Laptop.
I sympathize. You have at least a couple of options:
- Since you said you'd love to buy an English keyboard, I'd recommend just changing your keyboard layout. on Windows you can do so under Regional Settings. On a basic Linux console you can use
loadkeys
. Under X11 you can usesetxkbmap
. - Just live with it the way it is. The vim help will make the most sense this way.
- Search for a language map for your latin american keyboard. For instance, take a look at this one for dvorak.
I use the Dvorak keyboard layout and I just live with it the way it is. If there's a command or two that are very cumbersome, map them to something easy on your keyboard. There will inevitably be other shortcuts that are easier because of the different keyboard layout, but overall efficiency will depend on your layout and what features you use.
You can use my translit3 plugin to enter non-latin1 symbols on latin1 keyboard. Just choose one keyboard layout and write a transliteration table in order to use other symbols.
精彩评论