My .vimrc contains this snippet:
nnoremap S :%s//g<LEFT><LEFT> It creates a key binding which means that when I'm in normal mode, I can:
- type the character
S - type the string
find/replace - hit Enter, which replaces all occurrences of
findin the current buffer withreplace - return to normal mode
I'd like similar functionality in Spacemacs. Prefixing the command with Space is fine. How do I do it?