Re: [i3] vi and ADM-3A terminal

  • From: Axel Wagner <mail@xxxxxxxxxxx>
  • To: i3-discuss <i3-discuss@xxxxxxxxxxxxx>
  • Date: Thu, 26 Apr 2012 17:48:11 +0200

Hi Daniel,

Excerpts from Daniel Bolgheroni's message of 2012-04-26 16:52:01 +0200:

Are there any reasons to shift "right" the classic vi 'hjkl' directions
commands to 'hjk;'?

Yes, hjk; is on the homerow, that is, you don't have to take your hands of
your keyboard, while typing, to navigate your windows.

There is a historic reason for using 'hjkl':

http://www.catonmat.net/blog/why-vim-uses-hjkl-as-arrow-keys/
http://news.ycombinator.com/item?id=3684763

I personally don't care that much about “historical reasons”, the whole
qwertz-layout-thing is due to “historical reasons” and it sucks ;)

Besides this, there is a practical reason too. On a lot of non-US layout
keyboards, ';' doesn't come at the right side of 'k', where 'hjkl' is
almost universal. This makes a pain use i3 with the default conf.

In the default, i3 should run the configuration-manager at startup. The
default-config uses keycodes and it should use your current keyboard, to
transform that into keysymbols. Therefore the layout you use shouldn't
matter in the default-case. If you switch layouts often, use the
default-default-config (in /etc/i3/config in debian, or in ./i3.config in
the source), it uses keycodes and will therefore automatically adapt to
your needs ;)

The main developer (and the biggest userbase at least in the beginnings
of i3) uses a non-US-layout by the way ;)

Kind regards,

Axel

Attachment: signature.asc
Description: PGP signature

Other related posts: