-
-
Save eduardoarandah/f7922e040af13d705e1e589c2738e655 to your computer and use it in GitHub Desktop.
Prefix tailwind classes using vim command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" this is the command used in this video: https://www.youtube.com/watch?v=YnaCMqSOYEA | |
" put it in register q with "qyiW | |
" Execute with :g/className/norm@q | |
" Dont forget to add keyword separators :set iskeyword+=- :set iskeyword+=: | |
0/className^Mf=llvi"^[:s/\%V\</tw-^M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment