bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

helm-projectile-ag behavior differs from helm-projectile-grep #106

Closed 098799 closed 6 years ago

098799 commented 6 years ago

Expected behavior

When using helm-projectile-ag, word currently under cursor should be taken as a defined search value.

Actual behavior

No default search value.

Steps to reproduce the problem

Place cursor on a word, C-c p s g Place cursor on a word, C-c p s s

Backtraces if necessary (M-x toggle-debug-on-error)

Environment & version information

xiongtx commented 6 years ago

helm-projectile-ag delegates to helm-ag, and there's already syohex/emacs-helm-ag#311. Please follow up there.

In the meantime you can use next-history-element (default M-n) to get the text at point.