4

OSX
Control-A Move to the beginning of the line or paragraph.
Control-E Move to the end of a line or paragraph.

Whats the equivalent for system wide shortcut on Ubnuntu 14? Where do I set those?

2
  • 1
    In what application? If it's the shell you're talking about, then if you're running the same shell on Ubuntu with the same settings, then it would be the same shortcuts.
    – Kusalananda
    Jun 1, 2017 at 19:03
  • I want a system wide shortcut. In OSX I can use that shortcut on command line, sublime, form fields... Jun 1, 2017 at 19:13

2 Answers 2

3

On my Dell I can use the Fn key for this purpose. Fn+ and Fn+. It also works in terminal so I don't have to remember what app I'm in!

I'm on Ubuntu 18.04 by the way.

1
  • I'm using a MagicKeyboard 2. This worked for me on Ubuntu 20. Thanks.
    – Trevor
    Oct 6, 2020 at 10:41
0

Ummm, would you believe Home, End.

It may depend on the application, but in most I use Home for begining of line, Ctrl+Home for beginning of page, End for end of line, Ctrl+End of end of page.

I use these keys in the bash shell all the time (Within X-Windows, on the Console, and from putty via ssh)

Now this does depend on having the correct terminal (TERM environment variable) set.

1
  • Hmmm, I'm transitioning from macOS to Ubuntu and boy do I miss command-left, command-right, command-shift-left, and command-shift-right (respectively: jump to beginning of line, end of line, beginning of line expanding selection, end of line expanding selection). It seems to be at the OS level in macOS and works for every application. Dec 28, 2021 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.