News for hackers. Stuff that matters.
Re:Learn Vim (the Smart Way): a book to learn the good parts... by hbofcator on Wednesday August 26, 2020 @07:34PM (#24288524)
I sort of got obsessed with the aforementioned ADM-3A keyboard layout, so I got myself a keyboard with unofficial QMK[1] support, and with that I remapped my keys as follows:

- Tab functions as Escape, Caps Lock as Control. That makes both keys well in reach of my pinky, and I can still use ^I for Tab.

- I remapped symbols according to an illustration[2] of the ADM-3A layout on Wikimedia (with some small adjustments). Aside from not having to press shift to enter command-mode, this also has the advantage of being more similar to the German layout, which I often have to use.

- And finally I changed ^H and ^I to work outside of terminal emulators (i.e. they send keycodes for Backspace and Tab, respectively).

While this layout is somewhat inconvenient for navigating CUA-derived UIs, I've found it great for use with vi clones and other TUIs.

[1] https://qmk.fm/

[2] https://upload.wikimedia.org/wikipedia/commons/a/a0/KB_Termi...

Re:Learn Vim (the Smart Way): a book to learn the good parts... by kqr on Thursday August 27, 2020 @06:26AM (#24292106)
I also remap shift-tab to tab in Vim, and then somehow manage to live without being able to actually shift-tab in Vim. I should probably think of some solution for that at some point...