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 / ?

  • 9
    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, 2016 at 8:06
  • ^ this worked for me. My meta is Esc so it was Esc-p or Esc-n
    – storypixel
    May 25, 2017 at 12:53
  • This should've been an answer. :-)
    – dimir
    Apr 22, 2022 at 9:51

1 Answer 1


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, 2017 at 12:52
  • this worked for me after restarting Emacs.
    – wolfv
    Jul 8, 2017 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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