Skip to content

ryangsteele/fix-vim-pasting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

fix-vim-pasting

Because it should work.

Allows you to paste indented content into a file from your terminal without explicitly turning paste mode on/off to prevent vim's auto-indenting from mangling your code - it is now handled automatically for you!

Say goodbye to the arduous process of "toggle paste mode on, enter insert mode, paste content, exit insert mode, toggle paste mode off", and bid farewell to all those times when you realized none of your mappings were working because you forgot to :set nopaste!


Thanks to: https://coderwall.com/p/if9mda/automatically-set-paste-mode-in-vim-when-pasting-in-insert-mode

About

Because it should work.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%