Monday, August 07, 2023

VIM underlining a title

 

HOW TO MAKE A CAPTION?

----------------------


(instead of keep tapping '-' to reach the desired length,

 one easy(?) way to achieve the same as above:

 go to the line)


0v$gU        # caption to uppercase

yyp          # duplicate the line

v$r-         # replace the line
ESC



(if same length not care, simply

80i- {escape}

Labels: