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

2012-04-26 Thread Axel Wagner
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


signature.asc
Description: PGP signature


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

2012-04-26 Thread Daniel Bolgheroni
On Thu, Apr 26, 2012 at 05:48:11PM +0200, Axel Wagner wrote:
 Hi Daniel,
 
 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.

Yes, I know the concept. But, unfortunately and at least in my case, ';'
is not on the homerow.

I don't mind having to adjust .i3/config. What I don't understand is why
is shifted. Is it to make room for Mod+h (horizontal) and make it
coherent?

Sorry, but to me, it doesn't make sense to use 'jkl;' in i3 and jump to
all vi-based apps and use 'hjkl'. Of course, I can configure all
programs to use 'jkl;' too (ksh in vi-mode, vimperator, xxxterm, mutt,
vim itself, muttator, etc.), but this is even more non-sense.

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

Yes but it's what we have available. I never saw a non-QWERTY layout
with my own eyes.

Thank you.


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

2012-04-26 Thread Michael Stapelberg
Hi Daniel,

Quoting Daniel Bolgheroni (2012-04-26 21:55:01)
 Yes, I know the concept. But, unfortunately and at least in my case, ';'
 is not on the homerow.
Axel already mentioned that you should be presented with i3-config-wizard on
your first start of i3, which will generate an i3 config based on keyboard
codes instead of keyboard symbols. So, in that config file, whichever key is on
your homerow ends up being the focus right key.

 I don't mind having to adjust .i3/config. What I don't understand is why
 is shifted. Is it to make room for Mod+h (horizontal) and make it
 coherent?
It is shifted because your fingers are supposed to rest in that position.

 Sorry, but to me, it doesn't make sense to use 'jkl;' in i3 and jump to
 all vi-based apps and use 'hjkl'. Of course, I can configure all
 programs to use 'jkl;' too (ksh in vi-mode, vimperator, xxxterm, mutt,
 vim itself, muttator, etc.), but this is even more non-sense.
You could use the arrow keys in these applications. The arrow keys are
comfortable reachable in decent keyboard layouts such as neo-layout.org.

 Yes but it's what we have available. I never saw a non-QWERTY layout
 with my own eyes.
How would you *see* what layout people are using? I don’t care what’s printed
on my keys ;-).

Best regards,
Michael


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

2012-04-26 Thread Daniel Bolgheroni
On Thu, Apr 26, 2012 at 10:09:17PM +0200, Michael Stapelberg wrote:
 Hi Daniel,

 Axel already mentioned that you should be presented with i3-config-wizard on
 your first start of i3, which will generate an i3 config based on keyboard
 codes instead of keyboard symbols. So, in that config file, whichever key is 
 on
 your homerow ends up being the focus right key.

I think it depends on packaging. On OpenBSD package, I didn't see this,
but I don't care. Really. 

 You could use the arrow keys in these applications. The arrow keys are
 comfortable reachable in decent keyboard layouts such as neo-layout.org.

I stripped off my arrow keys with a screwdriver. [1]

 How would you *see* what layout people are using? I don’t care what’s printed
 on my keys ;-).

Me too. Actually, I only remap Tab to be my Esc, and Caps Lock to be my
Control, just like ADM-3A terminal. It's very handy to have Esc closer
to homerow. 

Cheers,

[1] Just kidding. But I don't use them.