Skip to content

Commit

Permalink
🔧 (mini.files): keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Sep 24, 2024
1 parent 91025c3 commit 2e00494
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/plug/utils/mini.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,16 @@
{
mode = "n";
key = "-";
action = ":lua MiniFiles.open()<CR>";
action = ":lua MiniFiles.open(vim.api.nvim_buf_get_name(0))<CR>";
options = {
desc = "Open file explorer cwd";
silent = true;
};
}
{
mode = "n";
key = "_";
action = ":lua MiniFiles.open()<CR>";
options = {
desc = "Open file explorer";
silent = true;
Expand Down

0 comments on commit 2e00494

Please sign in to comment.