4

I have spacemacs and when I search for a word using / once it turns out that I can't access it later on using the up arrow. This feature is present in vim so how do I cycle through search history after hitting / ?

  • 6
    I am not using spacemacs, but in vanilla emacs while using incremental search (C-s or C-r) you can cycle through the search ring via M-p and M-n. – theldoria Aug 22 '16 at 8:06
  • ^ this worked for me. My meta is Esc so it was Esc-p or Esc-n – storypixel May 25 '17 at 12:53
2

To enable this feature in Spacemacs add (setq-default evil-search-module 'evil-search) in dotspacemacs/user-init () section.

  • 1
    this didn't work for me – storypixel May 25 '17 at 12:52
  • this worked for me after restarting Emacs. – wolfv Jul 8 '17 at 14:52

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.