ace-jump-mode icon indicating copy to clipboard operation
ace-jump-mode copied to clipboard

How to copy selected match instead of jumping into it?

Open nurdann opened this issue 2 years ago • 0 comments

Let's say I got the following function to jump to specific URLs

(defun ace-jump-http-mode ()
  "Jump to URLs"
  (interactive)
  (ace-jump-do "https?://[#%+.0-:=@-Z_a-z~-]\\{1,256\\}\\.[()0-9A-Za-z]\\{1,6\\}\\b\\([#%&()+.-:=?-Z_a-z~-]*\\)"))

Is it possible to extend it so that instead of jumping to the selected match, copying to kill-ring?

nurdann avatar Apr 16 '23 07:04 nurdann