top | item 13681585

(no title)

maouida | 9 years ago

I started to used VIM seriously last month. My biggest concern so far is editing new files. Too much switching between INSERT and NORMAL modes.

This is not a problem when editing existing files.

Also I think some keyboard shortcuts are not comfortable on an AZERTY keyboard layout.

discuss

order

astrobe_|9 years ago

One trick is to postpone the correction of a typo for instance until you're done with your current editing. And there's also plenty of ways to switch between modes: i,I, o, O, a, A, and ^o and ^d (insert mode) which are occasionally handy.

Also people often duplicate Esc to the "jk" combination. I personally use ^L instead, but for no particular reason.

On AZERTY keyboards, the nastiest shortcut for me is ^[ ("jump to tag", which is ctrl-AltGr-5). I simply remapped it to F2. A second one is ` (backtick, altGr-7), which I remapped to ' (tick). I did not move tick somewhere else, it wasn't useful enough to me to bother doing it.

See :map and :noremap for how to do these things.

johnchristopher|9 years ago

> Also I think some keyboard shortcuts are not comfortable on an AZERTY keyboard layout.

Agreed. That's why I switched to the US international layout. Took me only one week to train my fingers. And it's not that hard when I have to use someone else's computer (somehow I didn't forget the azerty layout :D).

d0vs|9 years ago

Have you remapped Caps lock to Escape yet?

u801e|9 years ago

I just use ctrl-[ to go back to normal mode. I actually do use the CAPS LOCK key for typing in all caps on occasion, so I would rather not remap it.