Re:IBM is still making ThinkPad keyboards
by LesZedCB on Monday October 05, 2015 @03:16PM
(#10334106)
Long live the Capslock-as-control-key master race. :)
[ Parent
| on HN ]
Re:IBM is still making ThinkPad keyboards
by timtadh on Monday October 05, 2015 @03:31PM
(#10334227)
emacs user! another to be expunged.
all hail <esc> as caps lock!
for on that day,
all shall be in normal mode,
on the day of text
one will `export EDITOR=/usr/bin/vim`
-- from the book of vim 2:12
Re:IBM is still making ThinkPad keyboards
by apricot on Monday October 05, 2015 @06:01PM
(#10335318)
The best way to deal with Caps Lock is to make it a Control Key when used as a modifier (held down when another key is pressed), but Escape when typed by itself. There's a program for GNU/Linux called xscape that does exactly that.
That sounds great! I am trying it right now...
FYI it's here: https://github.com/alols/xcape
Re:IBM is still making ThinkPad keyboards
by mindslight on Monday October 05, 2015 @09:57PM
(#10336337)
You should be able to do that with only XKB, but Xorg XKB seems somewhat buggy and the documentation is scattered, so you'd have a bit of work ahead of you.
I use vim and have caps lock bound to control. I use Ctrl-[ to switch to normal mode and ctrl is so much more useful outside of just vim.
Re:IBM is still making ThinkPad keyboards
by StavrosK on Monday October 05, 2015 @07:30PM
(#10335736)
I remapped jj to esc, for what it's worth, so I don't have to reach for anything. I'm one of the Capslock-as-ctrl people as well, and a vim user.
Re:IBM is still making ThinkPad keyboards
by LesZedCB on Tuesday October 06, 2015 @09:19AM
(#10338632)
me too
I have done no remapping but Ctrl-[ is very good for my wrists.
Re:IBM is still making ThinkPad keyboards
by Immortalin on Tuesday October 06, 2015 @12:31AM
(#10336765)
Spacemacs! Spacemacs! Spacemacs!