Question

With jedi-mode enabled, the C-tab is bound to jedi:complete.

How can I unbind it so that I can then bind it back to other-window?

I've tried:

  • (global-set-key (kbd "C-`") 'jedi:complete)
  • (global-set-key [C-tab] 'other-window)
  • (global-unset-key (kbd "<C-tab>"))
  • (defcustom jedi:key-complete (kbd "C-`") "Keybind for command `jedi:complete'." :group 'jedi)

None of them is getting me the desired results.

Was it helpful?

Solution

You can use:

(define-key jedi-mode-map (kbd "<C-tab>") nil)

None of the commands with global in them will work, since minor mode key bindings have priority over global key bindings.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top