I used to use s for replacing one char with another. e.g.

  • source: "bla". command: ss. result: "sla"
  • source: "bla". command: 3ss. result: "s"

Neovim (using LazyVim) seems to override this option, and I can't figure out how to restore it or what to use instead (c is fine, but replaces a full word, which complicates my workflow)

  • 2
    Does 3rs work?
    – Friedrich
    Commented Jun 15, 2023 at 10:14
  • 1
    Please complain at LazyVims issue tracker, that they are overriding a system comand Commented Jun 15, 2023 at 10:53
  • 1
    @Friedrich it does. Thank you Commented Jun 15, 2023 at 11:13
  • You're welcome. FWIW, on Vim 9 or 8.2 I cannot get 3ss to behave as described in the question.
    – Friedrich
    Commented Jun 15, 2023 at 11:56
  • 1
    @Friedrich you are right, my bad - 3ss would substitute 3 chars with one s. Updating the question Commented Jun 15, 2023 at 13:28

1 Answer 1


I would do use r instead




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.