Skip to content

Commit

Permalink
chore: update repro script to use recommended commands (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas authored Aug 7, 2024
1 parent 518b3e3 commit d749bb4
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions repro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,22 @@ local plugins = {
'mikavilpas/yazi.nvim',
event = 'VeryLazy',
keys = {
{
-- 👇 choose your own keymapping
'<leader>fy',
function()
require('yazi').yazi()
end,

{ desc = 'Open the file manager' },
},
'<leader>-',
'<cmd>Yazi<cr>',
desc = 'Open yazi at the current file',
},
{
-- Open in the current working directory
'<leader>cw',
'<cmd>Yazi cwd<cr>',
desc = "Open the file manager in nvim's working directory",
},
{
-- NOTE: this requires a version of yazi that includes
-- https://github.com/sxyazi/yazi/pull/1305 from 2024-07-18
'<c-up>',
'<cmd>Yazi toggle<cr>',
desc = 'Resume the last yazi session',
},
---@type YaziConfig
opts = {
Expand Down

0 comments on commit d749bb4

Please sign in to comment.