Mine is using the arrow keys to navigate typed text while writing and editing. It helps speed things up, versus having to move your hand to the mouse to navigate.

Use the Up and Down Arrows to move/jump vertically.

Left and Right Arrows to move/jump horizontally.

Combine Left or Right Arrow with Shift to be able to select text. Use Up or Down Arrow with Shift to quickly select whole/nearly whole sections of text.

Combine Control with Left/Right Arrow to jump whole words to more quickly move to where you want to type.

you are viewing a single comment's thread
view the rest of the comments
[–] 69 points 1 year ago (5 children)

To navigate to the previous folder

cd -

To reissue the previous command with a prefix. For example:

cat /root/.ssh/authorized_keys # Will fail without privilege

sudo !!

To use the argument of the previous command. For example:

tac ~/.ssh/authorized_keys # oops, misspelled cat

cat !$

  • source
  • hideshow 10 child comments
  • [–] 3 points 1 year ago

    Not sure if you're aware that tac is not a typo but reverse cat, as in, it works like cat but prints the last line first. I use this semi-regularly

    sl, now, that's a typo. Nobody wants a free choo choo

  • source
  • parent