Andrew McDonough

Please note: This page is imported from my wiki, which hasn't been updated in over 10 years. Some of the formatting was lost during the import. I'll try to get around to fixing it someday.



To yank/delete into a named buffer, prefix the command with “l where l is the letter of the buffer e.g. “dyy And to paste from the buffer do the same e.g. “dp


Pasting into VI

A common problem when pasting into Vi from a shell is that it seems to indent already indented code. If you run the following before pasting :set paste and after :set nopaste then this problem will be solved.

Andrew McDonough

Andrew McDonough is a consultant CTO and software developer, currently based between Berlin and London.

Follow Andrew on Twitter or Connect on LinkedIn