emacsspacemacs

How can I prevent Swiper from showing `^` in Spacemacs?


After installing ivy layer. Press M-x will display "^" in spacemacs, how can I remove it?

the ^ in ivy


Solution

  • This is intended behavior -- the input you are asked for is a regular expression, and the carret ^ is the beginning-of-string anchor. You can modify this by setting up ivy-initial-inputs-alist to your wishes via e.g. M-x customize-variable.