Center cursor after a n/N

This commit is contained in:
2023-10-15 15:15:34 +02:00
parent e08b63041d
commit a6c1a940a0
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
services.locate = {
enable = true;
locate = pkgs.mlocate;
package = pkgs.mlocate;
interval = "hourly";
localuser = null;
};
+4
View File
@@ -79,6 +79,10 @@ keymap("c", "<C-BS>", "<C-w>")
keymap("i", "<C-H>", "<C-w>") -- Keymap for CTRL-BACKSPACE on some termial emulators.
keymap("c", "<C-H>", "<C-w>")
-- Center screen when navigating search results
keymap("n", "n", "nzz")
keymap("n", "N", "Nzz")
keymap({"n", "x"}, "<leader>y", '"+y', "Yank to system clipboard")
keymap({"n", "x"}, "<leader>Y", '"+y$', "Yank line to system clipboard")