mirror of
https://github.com/zoriya/flake.git
synced 2026-06-09 13:10:59 +00:00
Center cursor after a n/N
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
services.locate = {
|
||||
enable = true;
|
||||
locate = pkgs.mlocate;
|
||||
package = pkgs.mlocate;
|
||||
interval = "hourly";
|
||||
localuser = null;
|
||||
};
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user