neovim
neovim copied to clipboard
basics: surround-nvim usage
Document the use of nvim-surround
- Adding a delimiter pair to the buffer
- Deleting a delimiter pair from the buffer
- Changing a delimiter pair to a different pair
Help documentation for using nvim-surround
:help nvim-surround.usage.
Common pattern for surrounding existing text
-v to visual select
sto cut- type surrounding char
pto paste original characters
Add To:
- https://practical.li/neovim/reference/modal-editing/tips-for-clojure/#simulated-structural-editing-with-surround