95
submitted 1 year ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
all 13 comments
sorted by: hot top controversial new old
[-] eeleech@lemm.ee 33 points 1 year ago

These shortcuts aren't provided by the terminal or the shell but the readline library (or zle if you use zsh), which can be configured using the ~/.inputrc file.

[-] cypherpunks@lemmy.ml 15 points 1 year ago

Some of these are provided by the readline library (ctrl-a/e/k/y etc), others are provided by the shell (ctrl-c, ctrl-z, etc), and others are the terminal emulator (ctrl-shift-c/v/n/t, etc).

[-] pgp@sh.itjust.works 17 points 1 year ago

I have a small gripe with this article: CTRL+K, CTRL+U and CTRL+W don't "delete", they "cut", and the clipboard can be accessed with CTRL+Y, which the article also fails to mention.

[-] starman@programming.dev 11 points 1 year ago* (last edited 1 year ago)

Shortcuts for some different shells:

  • Nushell (reedline): nushell.sh/book/line_editor
  • Bash: (readline): gnu.org/software/bash/manual/html_node/Readline-Interaction
  • Fish: fishshell.com/docs/current/interactive#shared-bindings

As you can see, most of them use shortcuts from Emacs and Vi

[-] GrappleHat@lemmy.ml 7 points 1 year ago

Or... VIM commands! set -o vi!!!!

[-] mr_strange@discuss.tchncs.de 6 points 1 year ago

They missed my personal favourite:

SHIFT + INSERT ... paste the content of the PRIMARY select buffer (currently selected text).

[-] Maoo@hexbear.net 2 points 1 year ago

Middle click gang has beef

[-] Synthead@lemmy.world 4 points 1 year ago
[-] mvirts@lemmy.world 2 points 1 year ago

I wish they just put a biiiit more detail, like good job getting the word out please add some explanation.

[-] wile_e8@lemmy.world 1 points 1 year ago

Is there any mirror for this? I don't know if this has been posted to some other site as well, but the web site seems to be overloaded with traffic right now and I can't see the article.

[-] mfigueiredo@lemmy.world 1 points 1 year ago

Very useful. Thanks.

this post was submitted on 25 Sep 2023
95 points (92.0% liked)

Linux

47409 readers
687 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS