this post was submitted on 12 Jun 2023
4 points (100.0% liked)
Linux
48035 readers
758 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can use the emacs shortcuts to navigate quickly, jump forward or backwards over words or to the start or end of a line.
Hey thank you :) I didn't knew these shortcuts where called emacs ! As @taaz said Ctrl+x Ctrl-e is probably the best I will get.
These get me most of the way around.
It also depends on your terminal emulator. For instance on my Mac I've mapped the above to the typical keybinds (alt-left, alt-right, ctrl-backspace)
Thank you :) My question was maybe a bit confusing (not native :( ) and yes I know those EMACs shortcuts to navigate around :). It was relate to how to navigate a multiline in a copy/pasted command in the shell. The solution is (even if it wasn't what I expected) to Ctrl-x Ctrl-e, this opens an editor with my copied command. This is one more step, but it's elgant and takes away the fritction from opening nano myself !
Thank you for your contribution !