From 92cf0fe62a41b20447d85edf11c08154992cad9d Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 25 May 2024 19:08:46 +0200 Subject: [PATCH] nvim: remap zz to top instead of center --- .config/nvim/lua/config/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index 944e633..3a627cb 100644 --- a/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua @@ -7,5 +7,5 @@ vim.api.nvim_del_keymap("n", "") vim.api.nvim_set_keymap("n", "", "gcc", {}) vim.api.nvim_set_keymap("v", "", "gc", {}) vim.api.nvim_set_keymap("n", "", "gcgc", {}) - vim.api.nvim_set_keymap("n", "", ",", {}) +vim.api.nvim_set_keymap("n", "zz", "zt", {})