This sounds a bit like homework.. But here is how to do it: add this line to your ~/.vimrc:
create new file with vim and type "ITL" (try to be fast with typing). It will be substituted by the desired string. When you want to disble this behaviour, just put " at the beggining of the added line in .vimrc to comment it out, or just delete it entirely.
Does anyone know what nu stands for in vi? That is so much easier to remember then number and nonumber for line numbers.
Show Line Numbers In vim Text Editor, Linux (1 Reply)