jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.93k stars 102 forks source link

Text-object surround #281

Open musjj opened 1 month ago

musjj commented 1 month ago

General information

Basic examination

Problem description

Many implementations of surround plugins in vim/neovim allows you to use surround commands directly with a text object. For example, ysiw" will add quotes to the current word. Currently, you need to use visual mode first, like: viwS". It's not any less efficient, but muscle memory is a hell of a drug :)