JohnWittle comments on Interested in learning Linux? Need hosting? Free shells! - Less Wrong

28 Post author: JohnWittle 09 September 2012 05:35AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (37)

You are viewing a single comment's thread. Show more comments above.

Comment author: JohnWittle 24 September 2012 07:58:56AM *  0 points [-]

i use the ` key, which I have yet to find a use for in any situation ever. since 90% of the time, the next key you're going to press is a number key, this works really well.

Comment author: lsparrish 24 September 2012 05:21:00PM *  0 points [-]

Good point. Actually it is useful in bash scripting when you want to include the output of a command in the arguments of another. However you can get it to work when you press the key twice by using send-prefix like so:

set-option -g prefix `
bind-key ` send-prefix

The only disadvantage is that now you can't copy and paste without losing your backticks, and possibly triggering an action you didn't intend. I haven't yet run into a situation where this was relevant though.