restructured + addet scissors as the snippet enging
This commit is contained in:
parent
a98a9aa78d
commit
a00a4b136e
6 changed files with 21 additions and 148 deletions
24
lua/pika/plugins/telesnip.lua.disabled
Normal file
24
lua/pika/plugins/telesnip.lua.disabled
Normal file
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
-- "https://git.k4li.de/pika/telesnip.nvim",
|
||||
"pik4li/telesnip.nvim",
|
||||
dependencies = "nvim-telescope/telescope.nvim",
|
||||
branch = "main",
|
||||
opts = {
|
||||
-- ╭────────────────────────────────────────────────────────────────────────╮
|
||||
-- │ customize your custom_snippet_path (if you change the snippet_path │
|
||||
-- │ you might break something, as this is the directory for the snippets │
|
||||
-- │ inside the plugin folder) │
|
||||
-- ╰────────────────────────────────────────────────────────────────────────╯
|
||||
-- snippet_path = "/path/to/your/snippets",
|
||||
-- custom_snippet_path = "~/.config/nvim/snippets/",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("telesnip").setup(opts)
|
||||
end,
|
||||
keys = {
|
||||
-- ─< just the standard two keybindings I configured. Be sure to make your own one, if you'd like >─
|
||||
{ "<leader>sm", "<cmd>TelesnipShowSnippets<CR>", desc = "Open Snippet Picker" },
|
||||
{ "<leader>sc", "<cmd>TelesnipCustomSnippet<CR>", desc = "Save Custom Snippet" },
|
||||
{ "<leader>sc", "<cmd>TelesnipCustomSnippet<CR>", mode = "v", desc = "Save Custom Snippet" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue