2023-09-17 23:36:17 +02:00
|
|
|
-- Keymaps are automatically loaded on the VeryLazy event
|
|
|
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
|
|
|
-- Add any additional keymaps here
|
2023-10-02 21:51:48 +02:00
|
|
|
|
|
|
|
-- C-/ should be comment instead of lazyterm
|
2024-05-27 19:42:59 +02:00
|
|
|
vim.api.nvim_del_keymap("n", "<c-/>")
|
|
|
|
vim.api.nvim_set_keymap("n", "<c-/>", "gcc", {})
|
|
|
|
vim.api.nvim_set_keymap("v", "<c-/>", "gc", {})
|
|
|
|
vim.api.nvim_set_keymap("n", "<Leader><c-/>", "gcgc", {})
|
2024-04-10 17:44:41 +02:00
|
|
|
vim.api.nvim_set_keymap("n", "<Tab>", "<Space>,", {})
|
2024-05-25 19:08:46 +02:00
|
|
|
vim.api.nvim_set_keymap("n", "zz", "zt", {})
|
2024-06-07 16:54:47 +02:00
|
|
|
|
|
|
|
vim.api.nvim_set_keymap("n", "[d", ":lua vim.diagnostic.goto_prev { float = false }<Enter>", {})
|
|
|
|
vim.api.nvim_set_keymap("n", "]d", ":lua vim.diagnostic.goto_next { float = false }<Enter>", {})
|