dotfiles/.config/nvim/lua/config/keymaps.lua

12 lines
503 B
Lua
Raw Normal View History

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
-- C-/ should be comment instead of lazyterm
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>,", {})