现在的位置: 首页 > 综合 > 正文

vim paste indent problem

2013年06月15日 ⁄ 综合 ⁄ 共 158字 ⁄ 字号 评论关闭

Q:

vim has autoindent, but it has some problem when your paste code from clipboard.

 

A:

before your pasting:

:set paste

after your pasting:

:set nopaste

OR

use:

"+p

OR

set pastetoggle=<F3>

 

抱歉!评论已关闭.