feat(nvf): add keymap to create file under cursor

This commit is contained in:
Mohammad Rafiq 2025-05-20 11:32:27 +08:00
parent a24480e871
commit 95146e2cdf
No known key found for this signature in database

View file

@ -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<CR>:e <cfile><CR>";
silent = true;
}
];
utility.yazi-nvim = {
enable = true;
mappings = {