chore: remove keymaps nzz on n and Nzz on N

It feels clearer where am I in the code when the content doesn't shift
as much. I will keep the zz keymaps for other kinds of movement
like <C-d>, <C-u>, <C-j> and <C-k> though
This commit is contained in:
Simon Lasbrugnas 2025-03-01 19:24:26 +01:00
parent 0ba757ae05
commit fdf653d250
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -10,8 +10,6 @@ set("n", "<leader>e", "<cmd>:Oil<CR>")
set("i", "<C-c>", "<Esc>") set("i", "<C-c>", "<Esc>")
-- Keep things centered -- Keep things centered
set("n", "n", "nzz")
set("n", "N", "Nzz")
set("n", "<C-d>", "<C-d>zz") set("n", "<C-d>", "<C-d>zz")
set("n", "<C-u>", "<C-u>zz") set("n", "<C-u>", "<C-u>zz")
set("n", "<C-j>", "<cmd>cnext<CR>zz") set("n", "<C-j>", "<cmd>cnext<CR>zz")