Skip to content
Discussion options

You must be logged in to vote
vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system 'curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua')()

---@module 'snacks'

---@diagnostic disable-next-line: missing-fields
require('lazy.minit').repro {
  spec = {
    {
      'folke/snacks.nvim',
      ---@type snacks.Config
      opts = {
        picker = {
          sources = {
            explorer = {
              win = {
                list = {
                  keys = {
                    ['Y'] = 'copy_path',
                  },
                },
              },
              actions = {
                copy_path = function(_, item)
                  local modify = vim.fn.fnamemodify

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@drowning-cat
Comment options

@markhagemann
Comment options

Answer selected by markhagemann
Comment options

You must be logged in to vote
1 reply
@sinharaksh1t
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants