I'm trying to do something fairly simple. I'm writing latex and I have all these blocks of code, that I'm trying to comment out (and disregard the words in the word count). So I have to write these lines a bazillion times:
and this as well:
Is it possible to setup a shortcut, so if I type something along the lines of:
it then inserts one of the code-chunks?
Then I could setup my own kind of tailored standard clipboard in my VIMRC-file. So I shouldn't put it all into different registers every time I start Vim.
Just as I saw the answers, I knew what I had forgotten to search for, which is 'abbreviations'. I would just add it here, so this post would come up, if someone else Googled it.