This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim.o.relativenumber = true -- relative line numbers | |
vim.o.number = true -- show absolute number on current line | |
vim.o.cursorline = true -- highlight current line | |
vim.o.clipboard = 'unnamedplus' -- Use the system clipboard by default | |
vim.cmd [[packadd packer.nvim]] | |
require('packer').startup(function(use) | |
use { 'nvim-telescope/telescope.nvim', requires = { 'nvim-lua/plenary.nvim' } } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import platform | |
from openai import OpenAI | |
from openai.types.chat.chat_completion_chunk import Choice | |
api_key = os.getenv("OPENAI_KEY", "") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vim_mode": true, | |
"cursor_blink": false, | |
"vertical_scroll_margin": 0, | |
"buffer_line_height": "standard", | |
"buffer_font_family": "Fira Code", | |
"icon_theme": "Colored Zed Icons Theme Dark", | |
"scrollbar": { | |
"show": "never" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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]": { |