removed telesnip local dev
This commit is contained in:
parent
8ccd6b7b7b
commit
b36925682a
11 changed files with 28 additions and 214 deletions
|
@ -6,6 +6,7 @@ nomap("i", "<C-k>", "")
|
|||
nomap("n", "<C-k>", "")
|
||||
nomap("n", "q", "")
|
||||
nomap("v", "q", "")
|
||||
nomap("v", "<leader>S", "")
|
||||
|
||||
local map = vim.keymap.set
|
||||
|
||||
|
@ -16,7 +17,7 @@ map("n", "<S-c>", "gcc", { desc = "comment toggle", remap = true })
|
|||
map("v", "<S-c>", "gc", { desc = "comment toggle", remap = true })
|
||||
|
||||
-- ─< telesnip >────────────────────────────────────────────────────────────────────────
|
||||
map("n", "<leader>sp", "<cmd>:Snippets<CR>", { desc = "Snippets with telescope", remap = true })
|
||||
-- map("n", "<leader>S", "<cmd>:Snippets<CR>", { desc = "Snippets with telescope", remap = true })
|
||||
|
||||
-- ─< cmd line >────────────────────────────────────────────────────────────────────────
|
||||
vim.api.nvim_set_keymap("n", ":", "<cmd>FineCmdline<CR>", { noremap = true })
|
||||
|
|
16
lua/pika/plugins/telesnip.lua
Normal file
16
lua/pika/plugins/telesnip.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
-- Example assuming you're configuring your plugin in lazy.nvim
|
||||
return {
|
||||
"https://git.k4li.de/pika/telesnip.nvim",
|
||||
config = function()
|
||||
-- Load your plugin
|
||||
local telesnip = require("telesnip")
|
||||
|
||||
-- Define the :Snippets command
|
||||
vim.api.nvim_create_user_command("Snippets", function()
|
||||
telesnip.snippet_picker()
|
||||
end, {})
|
||||
|
||||
-- Optional: Set up a keybinding if desired
|
||||
vim.keymap.set("n", "<leader>S", ":Snippets<CR>", { desc = "Open Snippet Picker" })
|
||||
end,
|
||||
}
|
9
lua/pika/plugins/todo-nvim.lua
Normal file
9
lua/pika/plugins/todo-nvim.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue