Add codesnap
This commit is contained in:
parent
809e07b474
commit
05c437bfcc
1 changed files with 23 additions and 0 deletions
23
nvim/lua/plugs/codesnap.lua
Normal file
23
nvim/lua/plugs/codesnap.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
return {
|
||||||
|
"mistricky/codesnap.nvim",
|
||||||
|
build = "make",
|
||||||
|
config = function()
|
||||||
|
require("codesnap").setup({
|
||||||
|
mac_window_bar = true,
|
||||||
|
title = "codesnap.nvim",
|
||||||
|
code_font_family = "JetBrainsMono Nerd Font",
|
||||||
|
breadcrumbs_separator = "/",
|
||||||
|
has_breadcrumbs = true,
|
||||||
|
bg_theme = "grape",
|
||||||
|
watermark = "",
|
||||||
|
})
|
||||||
|
|
||||||
|
require("utils").add_keymaps({
|
||||||
|
v = {
|
||||||
|
["<leader>cs"] = {
|
||||||
|
cmd = ":CodeSnap<CR>"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue