Skip to content

Keybindings conflict with flymake/flycheck default keybindings #27

@pasunboneleve

Description

@pasunboneleve

Thank you for making smart-scan available!

I have been using flymake for years, and unfortunately, the default keybindings for it include

  • flymake-goto-next-error M-n
  • flymake-goto-prev-error M-p

I remember it being the same for elpy for many years. I don't use it anymore, as it was superseded by LSP, but it is a very strong muscle memory.

This could be resolved if smart-scan allowed rebinding its keymap. I tried

(use-package smartscan
  :bind (:map smartscan-map
              ("C-M-n" . smartscan-symbol-go-forward)
              ("C-M-p" . smartscan-symbol-go-backward))
  :hook ((after-change-major-mode . smartscan-mode)))

unsuccessfully. Is there something I'm missing, or would you need to change the current code?

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