3 ms·
This article sadly passes over one of the most important features of vim, which is its ability to work as an ascii art editor. To begin, open a new buffer and
by blindstitch 3y ago
This article sadly passes over one of the most important features of vim, which is its ability to work as an ascii art editor.
To begin, open a new buffer and create your canvas: "99i<space><Esc>yy99pgg0". This will make a buffer of 99x99 space characters.
To draw horizontally, press shift-R to enter Replace mode, similar to overwrite mode in Word. To fill rectangular areas, use control-v to select the first corner, use motions to select the second corner, then r<character> to replace the block with what you need. To copy and paste areas of your art, use y and p on areas you select with visual block mode. If anyone else has any tips please let me know.