Skip to content

Commit d9593e8

Browse files
committed
default tools
tmux harpoon neotree installed
1 parent 883dcac commit d9593e8

File tree

5 files changed

+42
-20
lines changed

5 files changed

+42
-20
lines changed

init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,8 +1001,9 @@ require('lazy').setup({
10011001
-- This is the easiest way to modularize your config.
10021002
--
10031003
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
1004-
-- { import = 'custom.plugins' },
10051004
--
1005+
{ import = 'custom.plugins' },
1006+
{ import = 'kickstart.plugins' },
10061007
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
10071008
-- Or use telescope!
10081009
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`

lua/custom/plugins/harpoon.lua

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
return {
2+
"ThePrimeagen/harpoon",
3+
branch = "harpoon2",
4+
dependencies = { "nvim-lua/plenary.nvim" },
5+
config = function()
6+
local harpoon = require("harpoon")
7+
8+
-- REQUIRED
9+
harpoon:setup()
10+
-- REQUIRED
11+
12+
vim.keymap.set("n", "<leader>ha", function()
13+
harpoon:list():add()
14+
end)
15+
vim.keymap.set("n", "<leader>hr", function()
16+
harpoon:list():remove()
17+
if (harpoon.ui.open) then
18+
harpoon:list()
19+
harpoon.ui:refresh()
20+
end
21+
end)
22+
vim.keymap.set("n", "<leader>hh", function()
23+
harpoon.ui:toggle_quick_menu(harpoon:list())
24+
end)
25+
-- Toggle previous & next buffers stored within Harpoon list
26+
vim.keymap.set("n", "<leader>hk", function()
27+
harpoon:list():prev()
28+
end)
29+
vim.keymap.set("n", "<leader>hj", function()
30+
harpoon:list():next()
31+
end)
32+
end,
33+
}

lua/custom/plugins/init.lua

Lines changed: 0 additions & 7 deletions
This file was deleted.

lua/custom/plugins/tmux.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
return {
2+
"christoomey/vim-tmux-navigator",
3+
vim.keymap.set("n", "C-h", ":TmuxNavigateLeft<CR>"),
4+
vim.keymap.set("n", "C-j", ":TmuxNavigateDown<CR>"),
5+
vim.keymap.set("n", "C-k", ":TmuxNavigateUp<CR>"),
6+
vim.keymap.set("n", "C-l", ":TmuxNavigateRight<CR>")
7+
}

lua/custom/plugins/vimux.lua

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)