From 73920b0bd052cb912433e0794d40a2f1c0d3e484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Wed, 13 Nov 2024 13:53:36 +0100 Subject: [PATCH] keys --- lua/zak/remap.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/zak/remap.lua b/lua/zak/remap.lua index 68c207f..0a40bf5 100644 --- a/lua/zak/remap.lua +++ b/lua/zak/remap.lua @@ -6,13 +6,14 @@ vim.keymap.set("v", "J", ":m '>+1gv=gv") vim.keymap.set("v", "K", ":m '<-2gv=gv") vim.keymap.set("n", "J", "mzJ`z") -vim.keymap.set("n", "", "zz") -vim.keymap.set("n", "", "zz") +vim.keymap.set({"n","v"}, "", "zz") +vim.keymap.set({"n","v"}, "", "zz") vim.keymap.set("n", "", "zz") vim.keymap.set("n", "", "zz") vim.keymap.set("n", "n", "nzzzv") vim.keymap.set("n", "N", "Nzzzv") -vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") vim.keymap.set("n", "", "") -- terminal remaps