loading...

Discussion on: How I Increased My Productivity With Visual Studio Code

Collapse
kepta profile image
Kushan Joshi

I find the following Mac shortcuts pretty helpful

ctrl-a jump to start of line.
ctrl-e jump to end of line.

The good thing about these shortcuts is that they are universal, which means you can use them in any text field, be it chrome, VSCode, safari, finder etc.

Collapse
icatalina profile image
Ignacio Catalina
  { "key": "ctrl+a",              "command": "cursorHome",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+a",
    "command": "-cursorLineStart",
    "when": "editorTextFocus"
  },

Best thing since slice bread.

Instead of putting the cursor at the beginning of the line, it goes to the first character with content.

Collapse
matt123miller profile image
Matt Miller (he/him)

Huh, TIL. I always use cmd + left arrow for beginning of line cmd + right arrow for end of line in MacOS.

Collapse
kepta profile image
Kushan Joshi

Ya I used to use that, but it didn't work universally (eg. terminal, iTunes etc) for me. But the ctrl-a/e really works universally.