feat(keys): restore default H & L

This commit is contained in:
Michel 2023-09-15 14:44:37 +02:00
parent d8de0d7f43
commit 0721474845
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
-- 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
--
-- ~/.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>")