I try to make effective use of vim's copy buffers by assigning regularly used commands to each one; but there never seems to be enough of them. When editing an html doc for example I bind </li><br>\n\t<li>
to the "l
copy buffer, but when editing a bash script use the "l
buffer for a bash specific command. So between sessions I continuously have to copy one command out for the other and re-save it in the buffer depending on what kind of file I am editing, never mind if I am editing one of each simultaneously, which is often enough to consider it a common occurrence.
Is there a way I can create profiles for different copy buffers and load them depending on what kind of file I am editing?