vim paste indent problem
生活随笔
收集整理的這篇文章主要介紹了
vim paste indent problem
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Q1:
vim has autoindent, but it has some problem when your paste code from clipboard.
?
A1:
before your pasting:
:set paste
after your pasting:
:set nopaste
OR
use:
"+p
OR
set pastetoggle=<F3>
?
Q2:
Copy & Paste on VIM by PuTTY
A2:
:set mouse=
?
轉載于:https://www.cnblogs.com/eshizhan/archive/2013/03/13/2957094.html
總結
以上是生活随笔為你收集整理的vim paste indent problem的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Mysql学习进度(2013.03.12
- 下一篇: Android 是移动世界的鸭嘴兽