I'm very new to Vim and I have some ASCII art in my _vimrc
.
I've inserted it there using normal i
, but it doesn't display properly, because the normal i
commands don't have a line break at the end. I've tried <esc>
, but it doesn't work.
Does anybody know how I can break the ASCII art into multiple lines?
Here's my _vimrc
:
" Packages
packadd! nord
" Visual settings
syntax on
colorscheme nord
language en_gb
set guifont=consolas:h11
" Functionality settings
set tabstop=4
set laststatus=2
set nu!
set guicursor=i:block-cursor
set guioptions-=T
set guioptions-=m
set guioptions-=r
set guioptions-=L
" ASCII art
normal i __ __ __
normal i / | / |/ |
normal i $$ | $$ |$$/ _____ ____
normal i $$ | $$ |/ |/ \/ \
normal i $$ \ /$$/ $$ |$$$$$$ $$$$ |
normal i $$ /$$/ $$ |$$ | $$ | $$ |
normal i $$ $$/ $$ |$$ | $$ | $$ |
normal i $$$/ $$ |$$ | $$ | $$ |
normal i $/ $$/ $$/ $$/ $$/
By the way I'm on Windows and I'm using GUI Vim 8.2.
Edit 1: I know, that there might be a better way to do this, but I'd like to stick to my way for now.
MY SOLUTION:
Edit 2: I solved it by adding normal o
between every line of the ASCII art like this:
normal i $$ | $$ |$$/ _____ ____
normal o
normal i $$ | $$ |/ |/ \/ \
normal o
normal i $$ \ /$$/ $$ |$$$$$$ $$$$ |
It's not the best solution, but it does the job for me.
Edit 3: I might've deleted the edit summary inserted by someone else and I'm sorry. I tried putting it back, but it always disappears.