/kb

personal knowledgebase

Pasting text in terminal VIM

without comments

Pasting code into a VIM running in terminal has never worked properly for me. It occured to me that Google might have some information on the topic. It turned out to be ridiculously easy:

:set nopaste

Paste your code, and then:

:set paste

Ref.: vim.org.

Theoretically related posts

Written by HÃ¥vard Grimelid

July 16th, 2008 at 5:42 pm

Posted in Editors

Tagged with

Leave a Reply