Skip to content

Instantly share code, notes, and snippets.

View scottwarren's full-sized avatar

Scott Warren scottwarren

View GitHub Profile
@scottwarren
scottwarren / 0_reuse_code.js
Last active August 31, 2015 03:53
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@scottwarren
scottwarren / example_file.js
Created August 4, 2019 11:00
Cool description
export default function getFullName(firstName, lastName) {
return `${firstName} ${lastName}`
}
@scottwarren
scottwarren / keybindings.jsonc
Created April 23, 2025 11:06
Settings to disable auto suggestions for GitHub Copilot (and rebind the trigger key)
// ~/Library/Application Support/Code/User/keybindings.json
[
{
// According to ChatGPT CapsLock isn't bindable by default in VSCode, so if you want to use it
// The suggestion is to use something like Karabiner Elements to rebind your caps lock key to something like F20
// and then bind it to trigger this
// Although the docs seem to suggest it is possible to bind: https://code.visualstudio.com/docs/configure/keybindings
"key": "cmd+enter",
"command": "github.copilot.generate",