I find the following Mac shortcuts pretty helpful
ctrl-a jump to start of line. ctrl-e jump to end of line.
ctrl-a
ctrl-e
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.
Huh, TIL. I always use cmd + left arrow for beginning of line cmd + right arrow for end of line in MacOS.
cmd + left arrow
cmd + right arrow
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.
ctrl-a/e
{ "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.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
Huh, TIL. I always use
cmd + left arrow
for beginning of linecmd + right arrow
for end of line in MacOS.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.Best thing since slice bread.
Instead of putting the cursor at the beginning of the line, it goes to the first character with content.