When reading logs it is useful to copy things to research in another emacs buffer but if I'm in copy-mode and press M-w after selecting something it not only copies but also exists copy-mode. This means I need to find my way back to where I was after the copy.
I can see how this is useful to others but users should at least have an option to just copy. In my case I have the below bindings and only want to exit copy-mode if I press RET:
:bind (("C-c o t" . ghostel)
("C-c o T" . my/ghostel-other-window)
:map ghostel-copy-mode-map
("<return>" . ghostel-copy-mode-exit)
("RET" . ghostel-copy-mode-exit)
:map ghostel-mode-map
("M-[" . ghostel-copy-mode)
:map project-prefix-map
("t" . ghostel-project)
("T" . my/ghostel-project-other-window))
When reading logs it is useful to copy things to research in another emacs buffer but if I'm in copy-mode and press
M-wafter selecting something it not only copies but also exists copy-mode. This means I need to find my way back to where I was after the copy.I can see how this is useful to others but users should at least have an option to just copy. In my case I have the below bindings and only want to exit copy-mode if I press RET: