dailyhack icon indicating copy to clipboard operation
dailyhack copied to clipboard

5 keyboard shortcuts to navigate your code faster

Open owenconti opened this issue 5 years ago • 1 comments

Here are 5 quick keyboard shortcuts I recommend you setup to help you navigate your code faster!

  • Delete line(s): CMD + D
  • Move line(s): OPTION + UP or DOWN ARROW
  • Go to line: CMD + L
  • Go back/forward: CMD + [ or ]
  • Start/end of word: OPTION + LEFT or RIGHT ARROW

Bonus:

  • Highlight characters with start/end of word: SHIFT + OPTION + LEFT or RIGHT ARROW

Full article available here: https://owenconti.com/posts/5-keyboard-shortcuts-to-navigate-your-code-faster/

owenconti avatar Apr 13 '19 19:04 owenconti

To cut a whole line, you can use CMD+C if you have nothing selected. This is for VSCode.

alechash avatar Jan 19 '21 19:01 alechash