News for hackers. Stuff that matters.
Re:Bash Keyboard Shortcuts Stickers by nausher81 on Friday November 21, 2014 @03:14PM (#8643164)
If anyone is wondering what the list of shortcuts are -

  ^ is Ctrl    
  Alt is the alt/option key

  Alt+F/B - Forward/Backward Word
  ^P - Prev command
  ^N - Next command
  ^XX - Toggle between beginning of line & current  cursor positions
  Alt+F/B - Forward/Backward Word
  Alt+T/Esc+T  - Swap current word with prev
  ^L - Clear screen
  ^H/^D - Backspace / Forward Delete Character
  ^W - Delete/Cut word before cursor
  ^K - Delete/Cut till End of Line
  ^U - Delete/Cut Line Before cursor
  ^Y - Paste last cut
  Alt+U/L - UPPER/lower case word after cursor
  ^- - Undo
  ^Z - Stop the current process and send it to the background.

I don't know what these do - Alt R - ^C -
Re:Bash Keyboard Shortcuts Stickers by klibertp on Friday November 21, 2014 @03:53PM (#8643317)
> ^XX - Toggle between beginning of line & current cursor positions

This is not true. ^X^X is actually a well known for Emacs users command "exchange-point-and-mark" and it only skips to the beginning of line because that's where the mark is by default. You can set the mark yourself with C-<space> anywhere on the line. From this point on pressing ^X^X will move your cursor to where you activated the mark, and move the mark to where your cursor was. That's pretty useful sometimes.

These two should be equivalent, I think, unless there is something strange going on:

    Alt+T - Swap current word with prev
    Esc+T Swap last 2 words with prev
C-c abandons current line without saving it in the kill ring and no matter where on the line you are. Faster than C-e C-u or C-a C-k.

M-r (Alt R) works as if you pressed undo (C-/ or C-_) enough times to get back to the empty line.

I put a little cheatsheet for those things some time ago for my coworkers, it lives here: http://klibert.pl/readline.html

Re:Bash Keyboard Shortcuts Stickers by miah_ on Friday November 21, 2014 @02:51PM (#8643032)
This should be called 'Readline keyboard shortcuts'. Because they are all handled by Readline and have nothing to do with Bash and are already supported by anything that also links to Readline.
Re:Bash Keyboard Shortcuts Stickers by klibertp on Friday November 21, 2014 @03:57PM (#8643334)
To be fair bash and readline were/are very closely related in terms of codebases. But it's true that almost all command line interactive apps which don't use curses use readline, which makes those keyboard shortcuts worth knowing.
Re:Bash Keyboard Shortcuts Stickers by bitslayer on Friday November 21, 2014 @11:59AM (#8642082)
What is the shortcut for set -o vi ?
Re:Bash Keyboard Shortcuts Stickers by flipstewart on Friday November 21, 2014 @12:05PM (#8642110)
;)

On OS X, these shortcuts work in generic text inputs as well! That's enough of a reason to convince me to keep the default shortcuts.

Re:Bash Keyboard Shortcuts Stickers by daveloyall on Friday November 21, 2014 @02:52PM (#8643033)
> Whether you’ve just opened Terminal for the first time or you’re a seasoned iTerm user

Seasoned iTerm user? First off, what the heck is an iTerm? Oh, it's an open source Terminal.app replacement first released in 2002. http://iterm.sourceforge.net/history.shtml

Seasoned indeed! :)

Re:Bash Keyboard Shortcuts Stickers by berodam on Friday November 21, 2014 @11:16AM (#8641886)
Looks cool, but I'm afraid it would not work very well on my ThinkPad
Re:Bash Keyboard Shortcuts Stickers by flipstewart on Friday November 21, 2014 @11:29AM (#8641942)
You're right, it won't :/

These are made very specifically for MacBooks, but I'm thinking of making a more generic option soon!

Re:Bash Keyboard Shortcuts Stickers by wyclif on Friday November 21, 2014 @12:18PM (#8642186)
How about a version for zsh? Nothing against bash, that's what I used for over a decade, but many of us have moved on to zsh.
Re:Bash Keyboard Shortcuts Stickers by flipstewart on Friday November 21, 2014 @12:24PM (#8642231)
There are some slight discrepancies, but the majority of the shortcuts work the same in zsh!
Re:Bash Keyboard Shortcuts Stickers by stuaxo on Friday November 21, 2014 @11:35AM (#8641977)
Yeah, pc version please :)
Re:Bash Keyboard Shortcuts Stickers by discreditable on Friday November 21, 2014 @02:34PM (#8642915)
Is there a normal keyboard listing of these? The keys are obscured in the photos.
Re:Bash Keyboard Shortcuts Stickers by daveloyall on Friday November 21, 2014 @02:49PM (#8643017)
Re:Bash Keyboard Shortcuts Stickers by mitosis on Friday November 21, 2014 @05:45PM (#8643837)
I think control-L should be "^L", not "^+L", and so on.
Re:Bash Keyboard Shortcuts Stickers by koesterd on Friday November 21, 2014 @11:29AM (#8641945)
Unfortunately only available in the US and Canada.
Re:Bash Keyboard Shortcuts Stickers by klez on Friday November 21, 2014 @11:35AM (#8641979)
Unfortunately only available with Apple key labels.
Re:Bash Keyboard Shortcuts Stickers by BFay on Friday November 21, 2014 @01:10PM (#8642458)
^ means Ctrl.

Weird squiggly thing means Alt.

That's pretty much all you need to know.

Re:Bash Keyboard Shortcuts Stickers by flipstewart on Friday November 21, 2014 @11:41AM (#8641995)
I'm happy to figure out shipping to other countries! Anywhere specific?
Re:Bash Keyboard Shortcuts Stickers by zufallsheld on Friday November 21, 2014 @12:03PM (#8642102)
Germany/Europe.
Re:Bash Keyboard Shortcuts Stickers by ozh on Friday November 21, 2014 @12:40PM (#8642311)
Non-Apple-Land.
Re:Bash Keyboard Shortcuts Stickers by unixengineer on Friday November 21, 2014 @11:44AM (#8642007)
zsh too please
Re:Bash Keyboard Shortcuts Stickers by elektronjunge on Friday November 21, 2014 @02:18PM (#8642805)
They are basically the same. In fact these short-cuts work for most things that use readline, e.g. psql, irb, bash, zsh, etc.
Re:Bash Keyboard Shortcuts Stickers by maerF0x0 on Friday November 21, 2014 @05:15PM (#8643706)
promo code?
Re:Bash Keyboard Shortcuts Stickers by igl on Friday November 21, 2014 @11:55AM (#8642064)
Unfortunately only available with Fisher-Price key labels.