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=

 

相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2021-10-20
  • 2021-05-29
  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案