refactor(homeModules/cli): idomaticity

This commit is contained in:
Mohammad Rafiq 2025-05-20 12:25:29 +08:00
parent feff604e8f
commit 84bacb23f0
No known key found for this signature in database
7 changed files with 22 additions and 25 deletions

View file

@ -5,15 +5,7 @@
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;
}
];
keymaps = import ./keymaps.nix;
utility.yazi-nvim = {
enable = true;
mappings = {

View file

@ -0,0 +1,9 @@
[
{
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;
}
]