moved some files
This commit is contained in:
parent
d46f072995
commit
e8e3ee3769
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
return {
|
||||
"oysandvik94/curl.nvim",
|
||||
cmd = { "CurlOpen" },
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
config = true,
|
||||
keys = {
|
||||
{ "<leader>cc", "<cmd>lua require('curl').open_curl_tab()<cr>", desc = "Open a curl tab scoped to the current working directory" },
|
||||
{ "<leader>csc", "<cmd>lua require('curl').create_scoped_collection()<cr>", desc = "Create or open a collection with a name from user input" },
|
||||
{ "<leader>cgc", "<cmd>lua require('curl').create_global_collection()<cr>", desc = "Create or open a global collection with a name from user input" },
|
||||
},
|
||||
on_attach = function (bufnr)
|
||||
-- These commands will prompt you for a name for your collection
|
||||
vim.keymap.set("n", "<leader>csc", function()
|
||||
curl.create_scoped_collection()
|
||||
end, { desc = "Create or open a collection with a name from user input" })
|
||||
|
||||
vim.keymap.set("n", "<leader>cgc", function()
|
||||
curl.create_global_collection()
|
||||
end, { desc = "Create or open a global collection with a name from user input" })
|
||||
|
||||
vim.keymap.set("n", "<leader>fsc", function()
|
||||
curl.pick_scoped_collection()
|
||||
end, { desc = "Choose a scoped collection and open it" })
|
||||
|
||||
vim.keymap.set("n", "<leader>fgc", function()
|
||||
curl.pick_global_collection()
|
||||
end, { desc = "Choose a global collection and open it" })
|
||||
end
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
return {
|
||||
'ThePrimeagen/harpoon',
|
||||
branch = 'harpoon2',
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
config = function()
|
||||
local harpoon = require 'harpoon'
|
||||
harpoon:setup()
|
||||
|
||||
-- Keymaps
|
||||
vim.keymap.set('n', '<leader>a', function()
|
||||
harpoon:list():add()
|
||||
end, { desc = 'Harpoon: Mark file' })
|
||||
|
||||
vim.keymap.set('n', '<C-e>', function()
|
||||
harpoon.ui:toggle_quick_menu(harpoon:list())
|
||||
end, { desc = 'Harpoon: Toggle quick menu' })
|
||||
|
||||
vim.keymap.set('n', '<leader>h1', function()
|
||||
harpoon:list():select(1)
|
||||
end, { desc = 'Harpoon: Go to file 1' })
|
||||
|
||||
vim.keymap.set('n', '<leader>h2', function()
|
||||
harpoon:list():select(2)
|
||||
end, { desc = 'Harpoon: Go to file 2' })
|
||||
|
||||
vim.keymap.set('n', '<leader>h3', function()
|
||||
harpoon:list():select(3)
|
||||
end, { desc = 'Harpoon: Go to file 3' })
|
||||
|
||||
vim.keymap.set('n', '<leader>h4', function()
|
||||
harpoon:list():select(4)
|
||||
end, { desc = 'Harpoon: Go to file 4' })
|
||||
|
||||
-- Navigate to previous & next buffers in the list
|
||||
vim.keymap.set('n', '<C-S-P>', function()
|
||||
harpoon:list():prev()
|
||||
end, { desc = 'Harpoon: Previous buffer' })
|
||||
|
||||
vim.keymap.set('n', '<C-S-N>', function()
|
||||
harpoon:list():next()
|
||||
end, { desc = 'Harpoon: Next buffer' })
|
||||
end,
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
'stevearc/oil.nvim',
|
||||
---@module 'oil'
|
||||
---@type oil.SetupOpts
|
||||
opts = {},
|
||||
-- Optional dependencies
|
||||
dependencies = { { "nvim-mini/mini.icons", opts = {} } },
|
||||
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
|
||||
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
||||
lazy = false,
|
||||
}
|
||||
Loading…
Reference in New Issue