Skip to content

Instantly share code, notes, and snippets.

@yushiro
Last active December 21, 2015 12:08
Show Gist options
  • Save yushiro/6303686 to your computer and use it in GitHub Desktop.
Save yushiro/6303686 to your computer and use it in GitHub Desktop.
linux tips

vim中设置了autoindent后,粘帖带缩进的代码会造成多余的缩进。 用下面的代码解决这个问题

:r! cat 
//and then paste ( shift + insert ) the content, and CTRL+D.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment