default tools

tmux harpoon neotree installed
This commit is contained in:
wingitman 2025-03-30 11:58:56 +01:00
parent 883dcacacd
commit d9593e87a7
5 changed files with 42 additions and 20 deletions

View File

@ -1001,8 +1001,9 @@ require('lazy').setup({
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
--
{ import = 'custom.plugins' },
{ import = 'kickstart.plugins' },
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`

View File

@ -0,0 +1,33 @@
return {
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local harpoon = require("harpoon")
-- REQUIRED
harpoon:setup()
-- REQUIRED
vim.keymap.set("n", "<leader>ha", function()
harpoon:list():add()
end)
vim.keymap.set("n", "<leader>hr", function()
harpoon:list():remove()
if (harpoon.ui.open) then
harpoon:list()
harpoon.ui:refresh()
end
end)
vim.keymap.set("n", "<leader>hh", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end)
-- Toggle previous & next buffers stored within Harpoon list
vim.keymap.set("n", "<leader>hk", function()
harpoon:list():prev()
end)
vim.keymap.set("n", "<leader>hj", function()
harpoon:list():next()
end)
end,
}

View File

@ -1,7 +0,0 @@
local vimux = require 'vimux.lua'
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return vimux

View File

@ -0,0 +1,7 @@
return {
"christoomey/vim-tmux-navigator",
vim.keymap.set("n", "C-h", ":TmuxNavigateLeft<CR>"),
vim.keymap.set("n", "C-j", ":TmuxNavigateDown<CR>"),
vim.keymap.set("n", "C-k", ":TmuxNavigateUp<CR>"),
vim.keymap.set("n", "C-l", ":TmuxNavigateRight<CR>")
}

View File

@ -1,12 +0,0 @@
return {
"vim-test/vim-test",
dependencies = {
"preservim/vimux",
},
vim.keymap.set("n", "<leader>t", ":TestNearest<CR>"),
vim.keymap.set("n", "<leader>T", ":TestFile<CR>"),
vim.keymap.set("n", "<leader>a", ":TestSuite<CR>"),
vim.keymap.set("n", "<leader>l", ":TestLast<CR>"),
vim.keymap.set("n", "<leader>g", ":TestVisit<CR>"),
vim.cmd("let test#strategy = 'vimux'"),
}