Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nonnontrivial's full-sized avatar

Kevin Donahue nonnontrivial

View GitHub Profile
@nonnontrivial
nonnontrivial / settings.json
Last active December 8, 2023 13:44
vscode settings
{
"telemetry.telemetryLevel": "off",
"git.enableSmartCommit": true,
"python.defaultInterpreterPath": "/usr/local/bin/python3",
"python.analysis.extraPaths": [
"~/Library/Python/3.11/lib/python/site-packages"
],
"python.testing.pytestEnabled": true,
"python.analysis.typeCheckingMode": "off",
"[python]": {
@nonnontrivial
nonnontrivial / keybindings.json
Last active November 14, 2023 16:47
vscode keybindings
[
{
"key": "ctrl+shift+d",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
@nonnontrivial
nonnontrivial / gpt.py
Last active April 19, 2023 20:18
prompt script
#!/usr/bin/env python3
"""
script for gpt-assisted commandline workflows.
simply add this to your $PATH, rename to remo-
ve the .py extension, and chmod +x to make it
executable.
>>> gpt where does the time go?
"""
[editor]
mouse = false
auto-completion = true
cursorline = true
cursorcolumn = true
auto-format = true
auto-save = true
idle-timeout = 300
completion-trigger-len = 2
auto-info = true
@nonnontrivial
nonnontrivial / settings.json
Last active April 6, 2024 18:50
zed config
{
"vim_mode": true,
"theme": "Summercamp",
"relative_line_numbers": true,
"buffer_line_height": "standard",
"buffer_font_family": "Menlo",
"ui_font_family": "Menlo",
"terminal": {
"font_family": "Menlo"
},