2

If I run bookmark-jump and use invoke M-p, it cycles through the history of bookmarks specifically. If I run counsel-bookmark-jump, M-p cycles through the generic minibuffer history, which is more or less useless. How can I ensure that minibuffer history is scoped to specific counsel commands?

  • @Drew That's exactly it. Would you like to promote your comment to an answer? I'll happy accept it. – Matthew Piziak Aug 4 '18 at 1:54
  • Done........... – Drew Aug 4 '18 at 15:44
  • 1
    There's a PR to fix this now: github.com/abo-abo/swiper/pull/1698 – Basil Aug 4 '18 at 16:23
  • The aforementioned PR has now been merged. – Basil Aug 6 '18 at 19:17
3

If Counsel uses completing-read then the call to that function just needs to specify a history variable that is specific to the given command, as parameter HISTORY.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.