Skip to content

Instantly share code, notes, and snippets.

@regexyl
Last active March 31, 2022 12:07
Show Gist options
  • Save regexyl/95007ffb94a3991f97d51e8d0bc231b5 to your computer and use it in GitHub Desktop.
Save regexyl/95007ffb94a3991f97d51e8d0bc231b5 to your computer and use it in GitHub Desktop.

Revisions

  1. regexyl revised this gist Mar 31, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vscode.md
    Original file line number Diff line number Diff line change
    @@ -26,5 +26,5 @@ Not exclusive to VSCode.

    ##### Pesky `node_modules` expansion
    Command-clicking on an imported function brings us to the node modules package file, but also expands the entire `node_modules` directory, which is a hassle to close as you have to scroll all the way back up.
    - `cmd + b, cmd + s`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `cmd + b, cmd + c`: Collapse folders in sidebar
    - `ctrl + cmd + shift + a`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `ctrl + cmd + shift + c`: Collapse folders in sidebar
  2. regexyl revised this gist Mar 30, 2022. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions vscode.md
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,16 @@ Not exclusive to VSCode.
    - `opt + backspace`: Deletes 1 word to the left of cursor
    - `opt + fn2 + backspace`: Deletes 1 word to the right of cursor

    ### Navigate
    - `^⌘→`: Shift focused editor into right group
    - `^⌘←`: Shift focused editor into left group

    ## Custom Shortcuts

    ### Navigate
    - `⌘f→`: Move cursor to editor in right group
    - `⌘f←`: Move cursor to editor in left group

    ##### Move cursor
    - `⌘ + opt + shift + down`: Extend cursor to the line below

  3. regexyl revised this gist Mar 30, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vscode.md
    Original file line number Diff line number Diff line change
    @@ -18,5 +18,5 @@ Not exclusive to VSCode.

    ##### Pesky `node_modules` expansion
    Command-clicking on an imported function brings us to the node modules package file, but also expands the entire `node_modules` directory, which is a hassle to close as you have to scroll all the way back up.
    - `cmd + s, cmd + b`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `cmd + c, cmd + b`: Collapse folders in sidebar
    - `cmd + b, cmd + s`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `cmd + b, cmd + c`: Collapse folders in sidebar
  4. regexyl revised this gist Mar 29, 2022. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion vscode.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,15 @@
    # VSCode Settings

    ## Mac Keyboard Shortcuts
    Not exclusive to VSCode.

    - `opt + backspace`: Deletes 1 word to the left of cursor
    - `opt + fn2 + backspace`: Deletes 1 word to the right of cursor

    ## Custom Shortcuts

    ##### Move cursor
    - `⌘ + alt + shift + down`: Extend cursor to the line below
    - `⌘ + opt + shift + down`: Extend cursor to the line below

    ##### Create and delete files
    - `opt + cmd + n`: Create new file in current location
  5. regexyl revised this gist Mar 29, 2022. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions vscode.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,9 @@

    ## Custom Shortcuts

    ##### Move cursor
    - `⌘ + alt + shift + down`: Extend cursor to the line below

    ##### Create and delete files
    - `opt + cmd + n`: Create new file in current location
    - `opt + cmd + del`: Delete current file
  6. regexyl revised this gist Mar 26, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vscode.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@
    - `opt + cmd + del`: Delete current file
    - `opt + cmd + r, opt + cmd + n`: Create new file in root location

    ##### Pesky node_modules expansion
    ##### Pesky `node_modules` expansion
    Command-clicking on an imported function brings us to the node modules package file, but also expands the entire `node_modules` directory, which is a hassle to close as you have to scroll all the way back up.
    - `cmd + s, cmd + b`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `cmd + c, cmd + b`: Collapse folders in sidebar
  7. regexyl created this gist Mar 26, 2022.
    13 changes: 13 additions & 0 deletions vscode.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # VSCode Settings

    ## Custom Shortcuts

    ##### Create and delete files
    - `opt + cmd + n`: Create new file in current location
    - `opt + cmd + del`: Delete current file
    - `opt + cmd + r, opt + cmd + n`: Create new file in root location

    ##### Pesky node_modules expansion
    Command-clicking on an imported function brings us to the node modules package file, but also expands the entire `node_modules` directory, which is a hassle to close as you have to scroll all the way back up.
    - `cmd + s, cmd + b`: Reveal current file in sidebar (auto-reveal current file is set to false)
    - `cmd + c, cmd + b`: Collapse folders in sidebar