Is your feature request related to a problem? Please describe.
prelude-mode overrides the behavior of C-a among other bindings which makes vterm not work. The terminal never receives the key press,
This is because the prelude-mode bindings are implemented in a global minor mode that takes precedence over the vterm major-mode bindings.
Describe the solution you'd like
The real solution i want is to be able to use vterm without losing the C-c p binding.
By far the least impacting to prelude-mode is to do something like the option 3 below, then i can make a minor mode only used in vterm that has the global keys i want from the prelude map, like projectile-command-map.
Describe alternatives you've considered
-
Remove the offending crux keybindings from the prelude-mode global map
-
Clone the keymap, make it buffer local and remove any offending keys. https://stackoverflow.com/questions/13102494/buffer-locally-overriding-minor-mode-key-bindings-in-emacs
-
Add logic so we can make it possible to disable the prelude-mode in some buffers, global-smart-tab-mode does it this way using define-globalized-minor-mode https://github.com/genehack/smart-tab/blob/master/smart-tab.el#L207-L230
-
Disable prelude mode, make my own custom keymap for the same thing.
Is your feature request related to a problem? Please describe.
prelude-modeoverrides the behavior ofC-aamong other bindings which makes vterm not work. The terminal never receives the key press,This is because the prelude-mode bindings are implemented in a global minor mode that takes precedence over the vterm major-mode bindings.
Describe the solution you'd like
The real solution i want is to be able to use vterm without losing the
C-c pbinding.By far the least impacting to prelude-mode is to do something like the option 3 below, then i can make a minor mode only used in vterm that has the global keys i want from the prelude map, like
projectile-command-map.Describe alternatives you've considered
Remove the offending
cruxkeybindings from theprelude-modeglobal mapClone the keymap, make it buffer local and remove any offending keys. https://stackoverflow.com/questions/13102494/buffer-locally-overriding-minor-mode-key-bindings-in-emacs
Add logic so we can make it possible to disable the prelude-mode in some buffers,
global-smart-tab-modedoes it this way usingdefine-globalized-minor-modehttps://github.com/genehack/smart-tab/blob/master/smart-tab.el#L207-L230Disable prelude mode, make my own custom keymap for the same thing.