nvimdev / dashboard-nvim

vim dashboard
MIT License
2.34k stars 190 forks source link

Executing shortcuts throw "not an editor command" for common Telescope actions #421

Open ndom91 opened 7 months ago

ndom91 commented 7 months ago

Describe the bug I've setup some shortcuts like in the Hyper example in the README, including f for Telescope find_files. When executing this from the dashboard, however, I get an error message Not an editor command: Telescope find_files

To Reproduce

  1. Use latest nvimdev/dashboard-nvim commit (04a48b2)
  2. Set a shortcut in the dashboard-nvim config like so:
    {
    icon = " ",
    icon_hl = "@variable",
    desc = "Files",
    group = "Label",
    action = "Telescope find_files",
    key = "f",
    },
  3. Restart nvim and press f on the keyboard.

Expected behavior Opens Telescope with find_files command

Screenshots

image