Update some configs & add MCP servers

This commit is contained in:
Mikkel Svartveit 2025-10-31 10:16:48 +01:00
parent 0b5c8ba97f
commit 429d1efd9a
5 changed files with 30 additions and 7 deletions

View file

@ -21,6 +21,7 @@ abbr ws "windsurf"
abbr lg "lazygit" abbr lg "lazygit"
abbr p "pnpm" abbr p "pnpm"
abbr pd "pnpm dev" abbr pd "pnpm dev"
abbr pdb "pnpm run db:studio" # Launch Drizzle Studio
abbr px "pnpm dlx" abbr px "pnpm dlx"
abbr ns "npm start" abbr ns "npm start"
abbr nrs "npm run serve" abbr nrs "npm run serve"
@ -105,5 +106,3 @@ source ~/.orbstack/shell/init2.fish 2>/dev/null || :
# Initialize zoxide # Initialize zoxide
zoxide init fish --cmd j | source zoxide init fish --cmd j | source
# Claude Code
alias claude="~/.claude/local/claude"

View file

@ -25,7 +25,7 @@
<key>AitermURL</key> <key>AitermURL</key>
<string>https://api.openai.com/v1/responses</string> <string>https://api.openai.com/v1/responses</string>
<key>AllowClipboardAccess</key> <key>AllowClipboardAccess</key>
<false/> <true/>
<key>AlternateMouseScroll</key> <key>AlternateMouseScroll</key>
<true/> <true/>
<key>Command</key> <key>Command</key>
@ -1968,10 +1968,12 @@
<true/> <true/>
<key>PromptOnQuit</key> <key>PromptOnQuit</key>
<false/> <false/>
<key>RememberWindowPositions</key>
<true/>
<key>ShowFullScreenTabBar</key> <key>ShowFullScreenTabBar</key>
<false/> <false/>
<key>SmartPlacement</key> <key>SmartPlacement</key>
<true/> <false/>
<key>SoundForEsc</key> <key>SoundForEsc</key>
<false/> <false/>
<key>SplitPaneDimmingAmount</key> <key>SplitPaneDimmingAmount</key>

View file

@ -23,9 +23,6 @@ set statusline=%f\ %m
set ignorecase set ignorecase
set smartcase set smartcase
" Disable mouse support (I find it more annoying than it's worth)
set mouse=
" Use 2 spaces as default indentation " Use 2 spaces as default indentation
set tabstop=2 set tabstop=2
set shiftwidth=2 set shiftwidth=2

View file

@ -395,3 +395,18 @@ require("lazy").setup({
}, },
}, },
}) })
-- Update buffer when embedded terminal has made changes
vim.api.nvim_create_autocmd({
"BufEnter",
"BufWinEnter",
}, {
group = augroup,
pattern = "*",
callback = function()
if vim.fn.filereadable(vim.fn.expand("%")) == 1 then
vim.cmd("checktime")
end
end,
desc = "Check for file changes on disk",
})

View file

@ -5,6 +5,16 @@
"type": "remote", "type": "remote",
"url": "https://mcp.context7.com/mcp", "url": "https://mcp.context7.com/mcp",
"enabled": true "enabled": true
},
"svelte": {
"type": "remote",
"url": "https://mcp.svelte.dev/mcp",
"enabled": true
},
"chrome-devtools": {
"type": "local",
"command": ["npx", "-y", "chrome-devtools-mcp@latest"],
"enabled": true
} }
} }
} }