when you press f9 \’paste\’ is on , press f9 again and \’paste\’ is off, and so forth (works in insert-mode and command-mode)


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

\"Enhanced

About Amit Agarwal