I’ve tried all the surround plugins but what I really want is just the simple flow of: make a selection -> press “, ( etc to surround. Is that not possible with vim?

  • Spore@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    It’s possible but would be awkward without making significant changes to default key mapping. ", , and ( are all motions by default, using them with a selection means “move one end of the selection to there”.
    Even “selection-first” editors like kakoune and helix binds the surround command with a prefix (select → surround operator → symbol). It just works better that way.