From 946b5aac276263974cb38d983e72091917cf6119 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sat, 24 May 2025 00:35:21 +0800 Subject: [PATCH] feat(nvf): add some easy motions --- modules/home/cli/editor/nvf/keymaps.nix | 7 ------- modules/home/cli/editor/nvf/utility.nix | 5 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/home/cli/editor/nvf/keymaps.nix b/modules/home/cli/editor/nvf/keymaps.nix index bca4c14..cde0be4 100644 --- a/modules/home/cli/editor/nvf/keymaps.nix +++ b/modules/home/cli/editor/nvf/keymaps.nix @@ -1,11 +1,4 @@ [ - { - desc = ""; - key = "f"; - mode = "n"; - action = ":FzfLua files"; - silent = true; - } { desc = "Open the file path under the cursor, making the file if it doesn't exist."; key = "gf"; diff --git a/modules/home/cli/editor/nvf/utility.nix b/modules/home/cli/editor/nvf/utility.nix index c27d2ef..62f2cdb 100644 --- a/modules/home/cli/editor/nvf/utility.nix +++ b/modules/home/cli/editor/nvf/utility.nix @@ -1,10 +1,9 @@ { - direnv.enable = true; + ccc.enable = true; leetcode-nvim.enable = true; mkdir.enable = true; motion.leap.enable = true; - motion.leap.mappings.leapForwardTo = "s"; - motion.leap.mappings.leapBackwardTo = "S"; + motion.hop.enable = true; vim-wakatime.enable = true; yazi-nvim = { enable = true;