update things
This commit is contained in:
parent
5ac7c053fd
commit
6eb61c0194
9 changed files with 72 additions and 25 deletions
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
event = "BufEnter",
|
||||
opts = { enable = true },
|
||||
opts = { enable = true, max_lines = 3 },
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
return {
|
||||
"oysandvik94/curl.nvim",
|
||||
cmd = { "CurlOpen" },
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>co", "<cmd>CurlOpen<cr>", desc = "Open Curl" },
|
||||
},
|
||||
config = function()
|
||||
local curl = require("curl")
|
||||
curl.setup({})
|
||||
|
||||
vim.keymap.set("n", "<leader>co", function()
|
||||
curl.open_global_tab()
|
||||
end, { desc = "Open a curl tab with gloabl scope" })
|
||||
|
||||
-- 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,
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@ return {
|
|||
vim.cmd.colorscheme("catppuccin-macchiato")
|
||||
end,
|
||||
opts = {
|
||||
transparent_background = true,
|
||||
transparent_background = false,
|
||||
custom_highlights = function(C)
|
||||
return {
|
||||
Pmenu = { bg = C.base },
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ in {
|
|||
clang
|
||||
pkgs-unstable.bash-language-server
|
||||
|
||||
curl
|
||||
jq
|
||||
|
||||
# Tools
|
||||
git
|
||||
html-tidy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue