News for hackers. Stuff that matters.
Re:Moving efficiently in the CLI by b5 on Friday January 26, 2018 @05:50PM (#16243543)

    Keep in mind, most of these work anywhere in OS X,
    not just in the terminal.
That's one of my absolute favourite things about Mac OS -- because Cmd exists, and takes over what Ctrl is used for on Windows and Linux, I can use these Ctrl commands and they work as I expect.

I wonder if it's possible to get Linux to work the way the Mac does in this regard? Allocate a Meta key to do what Ctrl does move of the time, so that these Ctrl commands became available again? I'd really find it easier to use Linux if that was possible.

Re:Moving efficiently in the CLI by bmn__ on Friday January 26, 2018 @10:55PM (#16244770)
Yes, that works out of the box with every KDE application. I recommend Super as modifier key rather than Meta because most keyboards on the market have a physical Super key or two.

https://encrypted.google.com/search?tbm=isch&q=kde+rebind+ke...

Re:Moving efficiently in the CLI by emidln on Friday January 26, 2018 @06:11PM (#16243644)
Gnome/GTK and KDE both have keybinding themes that can be set to emacs. You can do it for GNOME/GTK from gnome-tweak tool. Otherwise you can use gsettings or edit the config directly. Just google "emacs gnome keybindings".
Re:Moving efficiently in the CLI by knight17 on Saturday January 27, 2018 @09:13AM (#16246269)
>>That's one of my absolute favourite things about Mac OS

Mine too, but I'm on Windows where none of this work out of the box. However, I've found XKeymacs [0] which allows Emacs keys system wide. It is not fool proof, but I've found that the movement keys can be used without much trouble.

Currently I use:

Movement:

C-b C-f backward/forward-char

M-b M-f backward/forward-word

C-p C-n previous/next-line

C-a C-e Home End

C-x h

Capitalisation:

M-l M-c downcase-word, capitalise-word

M-F12 rollup-window

C-z iconify-deiconify-frame

C-q enable-disable xkeymacs

[0] https://github.com/fujieda/xkeymacs http://xkeymacs.osdn.jp/

I also use TouchCursor [1] to get vim like hjkl movement system wide while Space is pressed

[1] https://martin-stone.github.io/touchcursor/overview.html