diff --git a/modules/home/cli/editor/nvf.nix b/modules/home/cli/editor/nvf.nix index 94ab4ae..1a5164e 100644 --- a/modules/home/cli/editor/nvf.nix +++ b/modules/home/cli/editor/nvf.nix @@ -5,6 +5,15 @@ programs.nvf = { enable = true; settings.vim = { + keymaps = [ + { + desc = "Open the file path under the cursor, making the file if it doesn't exist."; + key = "gf"; + mode = "n"; + action = ":cd %:p:h:e "; + silent = true; + } + ]; utility.yazi-nvim = { enable = true; mappings = {