Skip to content

bug: ctrl+p shortcut interfere with crush's default ctrl+p shorcut #17

@skoch13

Description

@skoch13

Did you check docs and existing issues?

  • I have read all the sidekick.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of sidekick.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

latest nightly

Operating system/version

MacOS 26

Describe the bug

ctrl+p in crush is used for commands which is overtaken by sidekick's default ctrl+p for prompts. I'm not providing a PR as I'm not sure if you're about to make anythting with this or simply suggest remapping the key.

Steps To Reproduce

  1. spawn crash
  2. try to execute the commands shortcut

Expected Behavior

Shortcuts do not interfere

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/sidekick.nvim", opts = {} },
    -- add any other plugins here
  },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions