Skip to content

Instantly share code, notes, and snippets.

View keyle's full-sized avatar
👹

keyle

👹
View GitHub Profile
" Use filetype 'ox' for *.ox files
augroup filetypedetect
au!
au BufNewFile,BufRead *.ox setfiletype ox
augroup END
@keyle
keyle / .vimrc
Last active November 29, 2025 13:11
vimrc
syntax on
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
set guioptions-=m
set guioptions-=T
set noesckeys
set laststatus=2
set ruler
@keyle
keyle / init.lua
Last active October 31, 2025 10:12
neovim lazyvim config
require("config.lazy")
require("lspconfig").dartls.setup({
cmd = { "/Users/n/fvm/default/bin/dart", "language-server", "--protocol=lsp" },
})
-- remove relative numbers
-- vim.opt.relativenumber = false
-- turn off auto suggestions
@keyle
keyle / settings.json
Last active November 9, 2025 11:16
zed config
{
"agent": {
"default_model": {
"provider": "copilot_chat",
"model": "gpt-4.1"
},
"inline_assistant_model": {
"provider": "copilot_chat",
"model": "gpt-4.1"
}
@keyle
keyle / bindings.json
Last active September 23, 2025 05:18
micro and ghostty settings
{
"Alt-/": "lua:comment.comment",
"Alt-Left": "StartOfLine",
"Alt-Right": "EndOfLine",
"Alt-c": "Copy",
"Alt-d": "DuplicateLine",
"Alt-e": "command:format",
"Alt-f": "Find",
"Alt-g": "command:definition",
"Alt-k": "lua:comment.comment",
@keyle
keyle / Simply21.json
Created April 23, 2025 10:16
Simply21 Zed theme
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Simply21",
"author": "keyle",
"themes": [
{
"name": "Simply21",
"appearance": "dark",
"style": {
"border": "#292A2E",
@keyle
keyle / dir (zsh)
Created January 30, 2025 11:26
dir finding with fzf
dir() {
cd "$(fd "^${*}" "${HOME}" --max-depth 2 --type d | fzf --select-1 --query "${*}")"
}
@keyle
keyle / global.focus-config
Last active January 7, 2025 13:11
focus config and theme
[6] # Version number. Do not delete.
[[workspace]]
# These directories and files will be scanned when a workspace is opened so that search etc. works.
# Example:
# /Users/my_name/projects/my_project # <- the first directory in the list becomes the working directory
# /Users/my_name/jai
# src # <- this would be relative to the config file location
## NOTE projects live in
@keyle
keyle / Simply21.json
Created January 3, 2025 10:43
Zed Simply21 theme
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Simply21",
"author": "keyle",
"themes": [
{
"name": "Simply21",
"appearance": "dark",
"style": {
"border": "#292A2E",
@keyle
keyle / keymap.json
Created January 3, 2025 07:30
zed keymap and settings
[
{
"bindings": {
"cmd-[": "pane::GoBack",
"cmd-]": "pane::GoForward",
"cmd-shift-r": "file_finder::Toggle",
"cmd-g": "editor::GoToDefinition",
"ctrl-g": "editor::OpenExcerpts", // alt-enter
"ctrl-[": "workspace::ActivatePreviousPane",
"ctrl-]": "workspace::ActivateNextPane",