Merge branch 'main' of git.sealight.xyz:aynish/helm
This commit is contained in:
commit
328779b0ac
|
|
@ -90,6 +90,17 @@ let
|
||||||
sha256 = "czKjJgCpvRSdtR7rNGlJrluDgPIdx94KUyx33op5gdY=";
|
sha256 = "czKjJgCpvRSdtR7rNGlJrluDgPIdx94KUyx33op5gdY=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
opencode-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
pname = "opencode.nvim";
|
||||||
|
version = "2024-12-24";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "NickvanDyke";
|
||||||
|
repo = "opencode.nvim";
|
||||||
|
rev = "dfca5bb214d78a600781d50da350238b3e6e2621";
|
||||||
|
hash = "sha256-W7fPGiLpKRe1Nw0MckigUijTNq+L9Z+vxOKcf3oNZf0=";
|
||||||
|
};
|
||||||
|
doCheck = false;
|
||||||
|
};
|
||||||
gh-addressed = pkgs.vimUtils.buildVimPlugin {
|
gh-addressed = pkgs.vimUtils.buildVimPlugin {
|
||||||
pname = "gh-addressed";
|
pname = "gh-addressed";
|
||||||
version = "2024-09-17";
|
version = "2024-09-17";
|
||||||
|
|
@ -1030,6 +1041,22 @@ in
|
||||||
vim.keymap.set('n', '<M-S-k>', '<Cmd>resize +2<CR>', {silent = true})
|
vim.keymap.set('n', '<M-S-k>', '<Cmd>resize +2<CR>', {silent = true})
|
||||||
vim.keymap.set('n', '<M-S-l>', '<Cmd>vertical resize +2<CR>', {silent = true})
|
vim.keymap.set('n', '<M-S-l>', '<Cmd>vertical resize +2<CR>', {silent = true})
|
||||||
|
|
||||||
|
-- opencode.nvim setup with tmux provider
|
||||||
|
vim.g.opencode_opts = {
|
||||||
|
provider = {
|
||||||
|
enabled = "tmux",
|
||||||
|
tmux = {
|
||||||
|
-- default tmux provider settings work well
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
-- opencode.nvim keybindings
|
||||||
|
vim.keymap.set({ "n", "x" }, "<leader>oa", function() require("opencode").ask("@this: ") end, { desc = "Ask opencode" })
|
||||||
|
vim.keymap.set({ "n", "x" }, "<leader>os", function() require("opencode").select() end, { desc = "Select opencode action" })
|
||||||
|
vim.keymap.set({ "n", "t" }, "<leader>oo", function() require("opencode").toggle() end, { desc = "Toggle opencode" })
|
||||||
|
vim.keymap.set({ "n", "x" }, "<leader>op", function() return require("opencode").operator("@this ") end, { expr = true, desc = "Add range to opencode" })
|
||||||
|
|
||||||
-- Kitaab recent files (only date-based files, sorted reverse)
|
-- Kitaab recent files (only date-based files, sorted reverse)
|
||||||
function KitaabRecent()
|
function KitaabRecent()
|
||||||
local pickers = require('telescope.pickers')
|
local pickers = require('telescope.pickers')
|
||||||
|
|
@ -1191,6 +1218,9 @@ in
|
||||||
# custom
|
# custom
|
||||||
yuck-vim
|
yuck-vim
|
||||||
nvim-parinfer
|
nvim-parinfer
|
||||||
|
|
||||||
|
# opencode integration
|
||||||
|
opencode-nvim
|
||||||
# vim-processing
|
# vim-processing
|
||||||
] ++ lib.optionals pkgs.stdenv.isLinux [
|
] ++ lib.optionals pkgs.stdenv.isLinux [
|
||||||
# Linux-only plugins
|
# Linux-only plugins
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue