|
|
|
|
|
by dakra
16 days ago
|
|
> defined f1 to toggle between semi-char vs copy modes this is useful anyway but just in case you didn't know, we automatically switch to copy-mode when it makes sense. E.g. when you activate mark, click somewhere with the mouse or when point leaves the current prompt position. That means that with isearch or consult-line etc you're automatically in copy-mode (because why else would you search something and then jump to that position). For other commands like avy or flash jump packages I have this in the documentation: ;; A package that runs a hook after jumping (e.g. flash):
(add-hook 'flash-after-jump-hook #'ghostel-maybe-leave-input) ;; A package without one (e.g. avy) — advise its jump action:
(with-eval-after-load 'avy
(advice-add 'avy-action-goto :after #'ghostel-maybe-leave-input)) Personally I use copy mode a lot but I rarely have to "manually" activate the mode. |
|