-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace yazi keymap with plugin
- Loading branch information
Showing
2 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
return { | ||
"mikavilpas/yazi.nvim", | ||
lazy = true, | ||
keys = { | ||
{ | ||
-- Open in the current working directory | ||
"<leader>ee", | ||
"<cmd>Yazi cwd<cr>", | ||
desc = "Open the file manager in nvim's working directory", | ||
}, | ||
{ | ||
"<c-up>", | ||
"<cmd>Yazi toggle<cr>", | ||
desc = "Resume the last yazi session", | ||
}, | ||
}, | ||
opts = { | ||
-- if you want to open yazi instead of netrw, see below for more info | ||
open_for_directories = false, | ||
keymaps = { | ||
show_help = "<f1>", | ||
}, | ||
}, | ||
} |