emacsorphanage / helm-swoop

Efficiently hopping squeezed lines powered by Emacs helm interface
GNU General Public License v3.0
689 stars 55 forks source link

next-history-element cannot insert word under cursor #122

Closed ahlearn closed 5 years ago

ahlearn commented 6 years ago

In other helm use cases, next-history-element can be used to insert word under cursor.

But in helm-swoop, the command wrongly insert word at the beginning of current line?

cireu commented 5 years ago

Please try (define-key helm-swoop-map [remap next-history-element] #'helm-swoop-yank-thing-at-point)