Tech notes

Tuesday, October 14, 2014

How to paste into vim from external buffer without broking formatting

When I paste to vim some text from external buffer, e.g. using Ctrl-Shift-V in a terminal, the formatting is often broken. Use:
:set paste
Then paste the text. When you are done:
:set nopaste
Posted by tardenoisean at 10/14/2014 10:53:00 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: vim
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Labels

  • vim (10)
  • ctags (3)
  • C++ (2)
  • X11 (2)
  • cscope (2)
  • Armadillo (1)
  • Linear algebra (1)
  • avconv (1)
  • bash (1)
  • config (1)
  • debugging (1)
  • font (1)
  • gdb (1)
  • git (1)
  • java (1)
  • linux (1)
  • mingw (1)
  • mintty (1)
  • svn (1)
  • unix (1)
  • video (1)
  • xmonad (1)

Blog Archive

  • ►  2019 (1)
    • ►  July (1)
  • ►  2016 (8)
    • ►  November (1)
    • ►  October (2)
    • ►  May (1)
    • ►  February (3)
    • ►  January (1)
  • ▼  2014 (5)
    • ▼  October (1)
      • How to paste into vim from external buffer without...
    • ►  May (2)
    • ►  March (2)
  • ►  2013 (6)
    • ►  October (4)
    • ►  September (2)
  • ►  2012 (7)
    • ►  December (3)
    • ►  November (4)

About Me

tardenoisean
View my complete profile
Simple theme. Powered by Blogger.