vim\’s pastetoggle: when you press f9 \’paste\’ is on , press f9 again and \’paste\’ is off, and so forth (works in insert-mode and command-mode) $ nmap :set paste!:set paste? Sets as paste toggle, with visual confirmation of state
* View this command to comment, vote or add to favourites * View all commands by Vilemirth
commandlinefu.com
by David Winterbottom (codeinthehole.com)
URL: http://feedproxy.google.com/~r/Command-line-fu/~3/jGHf9FmLuUI/vims-pastetoggle-when-you-press-f9-paste-is-on-press-f9-again-and-paste-is-off-and-so-forth-works-in-insert-mode-and-command-mode
Related articles by Zemanta
- Staying the hell out of insert mode (vi) (cloudhead.io)
- Vim for (PHP) Programmers (slideshare.net)
- Mostly CLI: Get Organized with VIM….yes, VIM. (mostlycli.blogspot.com)
- Personalize your Vim editor with Vim 7.2 (packtpub.com)
- conque – Project Hosting on Google Code (code.google.com)