LazyVim/lua/config/keymaps.lua
2023-09-15 14:44:37 +02:00

15 lines
427 B
Lua

-- Keymaps are automatically loaded on the VeryLazy event
--
-- ~/.local/share/nvim/lazy/LazyVim/lua/lazyvim/config/keymaps.lua
-- https://www.lazyvim.org/keymaps
local map = vim.keymap.set
-- Azerty Keyboard
map({ "n", "x" }, "(", "[", { desc = "➤ [", remap = true })
map({ "n", "x" }, ")", "]", { desc = "➤ ]", remap = true })
-- Restore default vim behaviour
vim.keymap.del("n", "<S-h>")
vim.keymap.del("n", "<S-l>")