HACKER Q&A
📣 behnamoh

Cool keyboard shortcuts you use that have made your life easier?


I'm curious about shortcuts you've found or created that have made your life easier (you don't have to be a programmer).

For instance, ever since I found out about Vimium and CVim, I can't think of a better way to browse the web using keyboard (what the heck was I doing all those years before that?!)

Another example: I've set up many customized keyboard shortcuts (some use macros) in Word that have made a significant difference on my productivity and how much I enjoy typing in the software.


  👤 fiscalnonsense Accepted Answer ✓
I've found reduced keystrokes for common operations.

I use "sudo -i" instead of "sudo su -"

in vi, I use "ZZ" instead of ":wq!" to save and exit.

bonus: I save time typing repetitive things into the shell by making cut and paste capable stanzas in documentation like this:

  cat << EOF > newfilename
  ...
  EOF