Skip to content

Feature Request: Custom Actions #461

@user520881

Description

@user520881

Would it be possible to mappings take a function like in the pseudo code below.

In my case, i want to use a custom keymap to perform a custom action, e.g. use visidata to open a pandas dataframe.

-- Setup dapui
dapui.setup({
  element_mappings = {
    variables = {
      ["h"] = function()
        print("hello")
      end,
    },
    scopes = {
      ["h"] = function()
        vim.notify("hello from scopes")
      end,
    },
  },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions