Update neovim, ghostty

This commit is contained in:
Fabian Becker
2026-04-29 11:06:56 +02:00
parent 1f2385f7a7
commit 68b808f86e
14 changed files with 257 additions and 162 deletions

View File

@@ -0,0 +1,24 @@
return {
"coder/claudecode.nvim",
dependencies = { "folke/snacks.nvim" },
config = true,
keys = {
{ "<leader>a", nil, desc = "AI/Claude Code" },
{ "<leader>ac", "<cmd>ClaudeCode<cr>", desc = "Toggle Claude" },
{ "<leader>af", "<cmd>ClaudeCodeFocus<cr>", desc = "Focus Claude" },
{ "<leader>ar", "<cmd>ClaudeCode --resume<cr>", desc = "Resume Claude" },
{ "<leader>aC", "<cmd>ClaudeCode --continue<cr>", desc = "Continue Claude" },
{ "<leader>am", "<cmd>ClaudeCodeSelectModel<cr>", desc = "Select Claude model" },
{ "<leader>ab", "<cmd>ClaudeCodeAdd %<cr>", desc = "Add current buffer" },
{ "<leader>as", "<cmd>ClaudeCodeSend<cr>", mode = "v", desc = "Send to Claude" },
{
"<leader>as",
"<cmd>ClaudeCodeTreeAdd<cr>",
desc = "Add file",
ft = { "NvimTree", "neo-tree", "oil", "minifiles", "netrw" },
},
-- Diff management
{ "<leader>aa", "<cmd>ClaudeCodeDiffAccept<cr>", desc = "Accept diff" },
{ "<leader>ad", "<cmd>ClaudeCodeDiffDeny<cr>", desc = "Deny diff" },
},
}

View File

@@ -1,67 +1,69 @@
return {
{
"nvim-neorg/neorg",
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "4da2159b3f3420d43613f43e159f4253b8544474", -- Pin Neorg to the latest stable release
config = function()
require('neorg').setup({
load = {
["core.defaults"] = {},
["core.dirman"] = {
config = {
workspaces = {
work = "~/org/work",
home = "~/org/home",
},
index = "index.norg",
}
},
["core.completion"] = {
config = { engine = { module_name = "external.lsp-completion" } },
},
["core.concealer"] = {},
["core.journal"] = {
config = {
strategy = "flat",
},
},
["core.integrations.telescope"] = {},
["core.keybinds"] = {
config = {
default_keybinds = true,
},
},
["external.interim-ls"] = {
config = {
-- default config shown
completion_provider = {
-- Enable or disable the completion provider
enable = true,
return {}
-- Show file contents as documentation when you complete a file name
documentation = true,
-- Try to complete categories provided by Neorg Query. Requires `benlubas/neorg-query`
categories = false,
-- suggest heading completions from the given file for `{@x|}` where `|` is your cursor
-- and `x` is an alphanumeric character. `{@name}` expands to `[name]{:$/people:# name}`
people = {
enable = false,
-- path to the file you're like to use with the `{@x` syntax, relative to the
-- workspace root, without the `.norg` at the end.
-- ie. `folder/people` results in searching `$/folder/people.norg` for headings.
-- Note that this will change with your workspace, so it fails silently if the file
-- doesn't exist
path = "people",
}
}
}
},
}
})
end,
},
{ 'nvim-neorg/neorg-telescope' , 'benlubas/neorg-interim-ls' },
}
-- return {
-- {
-- "nvim-neorg/neorg",
-- lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
-- version = "4da2159b3f3420d43613f43e159f4253b8544474", -- Pin Neorg to the latest stable release
-- config = function()
-- require('neorg').setup({
-- load = {
-- ["core.defaults"] = {},
-- ["core.dirman"] = {
-- config = {
-- workspaces = {
-- work = "~/org/work",
-- home = "~/org/home",
-- },
-- index = "index.norg",
-- }
-- },
-- ["core.completion"] = {
-- config = { engine = { module_name = "external.lsp-completion" } },
-- },
-- ["core.concealer"] = {},
-- ["core.journal"] = {
-- config = {
-- strategy = "flat",
-- },
-- },
-- ["core.integrations.telescope"] = {},
-- ["core.keybinds"] = {
-- config = {
-- default_keybinds = true,
-- },
-- },
-- ["external.interim-ls"] = {
-- config = {
-- -- default config shown
-- completion_provider = {
-- -- Enable or disable the completion provider
-- enable = true,
--
-- -- Show file contents as documentation when you complete a file name
-- documentation = true,
--
-- -- Try to complete categories provided by Neorg Query. Requires `benlubas/neorg-query`
-- categories = false,
--
-- -- suggest heading completions from the given file for `{@x|}` where `|` is your cursor
-- -- and `x` is an alphanumeric character. `{@name}` expands to `[name]{:$/people:# name}`
-- people = {
-- enable = false,
--
-- -- path to the file you're like to use with the `{@x` syntax, relative to the
-- -- workspace root, without the `.norg` at the end.
-- -- ie. `folder/people` results in searching `$/folder/people.norg` for headings.
-- -- Note that this will change with your workspace, so it fails silently if the file
-- -- doesn't exist
-- path = "people",
-- }
-- }
-- }
-- },
-- }
-- })
-- end,
-- },
-- { 'nvim-neorg/neorg-telescope' , 'benlubas/neorg-interim-ls' },
-- }

View File

@@ -5,15 +5,6 @@ return {
-- Load .editorconfig files
{ 'editorconfig/editorconfig-vim' },
{
"m4xshen/hardtime.nvim",
lazy = false,
dependencies = { "MunifTanjim/nui.nvim" },
opts = {
disable_mouse = false,
max_count = 5
},
},
{
"karb94/neoscroll.nvim",
opts = {},

View File

@@ -13,7 +13,7 @@ return {
require('telescope').setup {
defaults = {
-- find_command = { 'rg', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case' },
file_ignore_patterns = { "_build", "node_modules", "deps", ".git", ".elixir_ls" },
file_ignore_patterns = { "_build", "node_modules", "deps", ".git", ".elixir_ls", ".lexical" },
prompt_prefix = "",
selection_caret = "",
entry_prefix = " ",

View File

@@ -81,4 +81,21 @@ return {
install_and_start()
end
},
{
{
"meanderingprogrammer/treesitter-modules.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
opts = {
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<A-o>",
node_incremental = "<A-o>",
scope_incremental = "<A-O>",
node_decremental = "<A-i>",
},
},
},
},
},
}