Skip to content

Instantly share code, notes, and snippets.

@daveydee33
Last active December 17, 2019 02:10
Show Gist options
  • Select an option

  • Save daveydee33/037e3ab0dd22177ce3be01756e076d38 to your computer and use it in GitHub Desktop.

Select an option

Save daveydee33/037e3ab0dd22177ce3be01756e076d38 to your computer and use it in GitHub Desktop.

Revisions

  1. daveydee33 renamed this gist Dec 17, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. daveydee33 created this gist Dec 17, 2019.
    30 changes: 30 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    - `ctrl+j` to open/close/focus on the integrated terminal.
    This is good to quickly switch cursor from the text editor to the terminal without using the mouse

    - use “clo” instead of “clg”.
    This comes from one of my snippets extensions

    - `anfn` or `nfn` to create arrow functions
    This comes from a snippets extension

    https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets

    - `Peacock` extension for colors, especially for separate colors when working on multiple project windows
    `f1` —or— `cmd+shift+P` — type Peacock random.

    - can re-use a VSCode win dow with ‘code .’

    - delete current line cmd+shift+K
    Or maybe I can map keys / key-binding so I can use something like "cmd+d" or something?
    https://code.visualstudio.com/docs/getstarted/keybindings#_how-to-add-a-key-binding-to-an-action-for-example-add-ctrld-to-delete-lines

    - `cmd+K, m` — set syntax language mode
    This is useful for a new unsaved file where the language hasn't been set according to the filename extension.


    # Some helpful VSCode setttings I configure
    - highlight modified files (unsaved files)

    # VSCode Extensions
    - `Import Cost` - this will show how much weight (kb) a module will add with the import statement
    - `Peacock` - for window colors, especially helpful to set different colors for different projects, multiple windows, etc.