Skip to content

Feature request: ghostel-copy-mode-copy should not exit copy-mode #238

@jvillasante

Description

@jvillasante

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))

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