Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig 431197d583 oil: float and q to quit 2024-08-09 03:46:06 -07:00
Zynh Ludwig 132e069133 codesnap 2024-08-09 03:42:44 -07:00
2 changed files with 20 additions and 2 deletions

14
lua/plugins/codesnap.lua Normal file
View File

@ -0,0 +1,14 @@
return {
{
"mistricky/codesnap.nvim",
build = "make",
cmd = "CodeSnap",
config = {
bg_color = "#535c68",
code_font_family = "JetBrainsMono Nerd Font",
mac_window_bar = false,
has_breadcrumbs = true,
title = "Test",
},
},
}

View File

@ -1,9 +1,13 @@
return { return {
{ {
"stevearc/oil.nvim", "stevearc/oil.nvim",
opts = {}, opts = {
keymaps = {
["q"] = "actions.close",
},
},
cmd = { "Oil" }, cmd = { "Oil" },
keys = { { "<leader>o", "<CMD>Oil<CR>", desc = "Oil", remap = true } }, keys = { { "<leader>o", "<CMD>Oil --float<CR>", desc = "Oil", remap = true } },
-- Optional dependencies -- Optional dependencies
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
}, },