Goal: unbind <C-return>
key ONLY in dired mode
in order to rebind it to dired-w32explore
.
My configuration is using use-package
with something like this:
(use-package dired
:init
(unbind-key "<C-return>" cua-global-keymap)
:bind (:map dired-mode-map
("<C-return>" . dired-w32explore))
The key works in dired-mode
as I want.
But I get the CUA key completely removed in the rest of modes.
Is it possible to unbind that key only for dired-mode
?