Fixing an issue I created with remaps not working for Telescope?
This commit is contained in:
parent
4d3950fc83
commit
b0a3d7a63d
5
after/plugin/luasnip.lua
Normal file
5
after/plugin/luasnip.lua
Normal file
@ -0,0 +1,5 @@
|
||||
local opts = { noremap = true, silent = true }
|
||||
local ls = require("luasnip")
|
||||
vim.api.nvim_set_keymap("n", "<Leader>nf", ":lua require('neogen').generate()<CR>", opts)
|
||||
vim.keymap.set({"i", "s"}, "<C-L>", function() ls.jump( 1) end, {silent = true})
|
||||
vim.keymap.set({"i", "s"}, "<C-J>", function() ls.jump(-1) end, {silent = true})
|
@ -1,5 +1,5 @@
|
||||
require("pippy.lazy")
|
||||
require("pippy.remap")
|
||||
require("pippy.lazy")
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
|
@ -49,6 +49,7 @@ require("lazy").setup({
|
||||
cmd = "Neoconf"
|
||||
},
|
||||
"folke/neodev.nvim",
|
||||
-- {'akinsho/toggleterm.nvim', version = "*", config = true},
|
||||
{"danymat/neogen", dependencies = "nvim-treesitter/nvim-treesitter", config = true},
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
|
@ -16,8 +16,3 @@ vim.keymap.set("n", "<leader>sg", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left>
|
||||
vim.keymap.set("n", "<leader>ss", [[:.,$s/\<<C-r><C-w>\>/<C-r><C-w>/gIc<Left><Left><Left><Left>]]) --Search and replace incremental
|
||||
vim.keymap.set("n", "<C-f>", [[/\<<C-r><C-w>\>/<CR>]]) -- ctrl find
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
local ls = require("luasnip")
|
||||
vim.api.nvim_set_keymap("n", "<Leader>nf", ":lua require('neogen').generate()<CR>", opts)
|
||||
vim.keymap.set({"i", "s"}, "<C-L>", function() ls.jump( 1) end, {silent = true})
|
||||
vim.keymap.set({"i", "s"}, "<C-J>", function() ls.jump(-1) end, {silent = true})
|
||||
|
Loading…
Reference in New Issue
Block a user