Quote A Word In Vim

Vim IconHere is a quick, but awesome little vim tip. To put quotes around a word, put your cursor anywhere on a word and then type:

ysiw'

or if you want double quotes

ysiw"

Leave a Reply

Your email address will not be published. Required fields are marked *