开发者

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:

What is the best way to write faster on Vim using a non-english keyboard?

(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:

  1. 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 use setxkbmap.
  2. Just live with it the way it is. The vim help will make the most sense this way.
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜