How to move a large section of Python code forward by one tab under vim?
伊谢尔伦
伊谢尔伦 2017-05-16 16:41:40
0
11
1701

I pasted a large section of python code under vim, but starting from a certain line, all the code was moved back by one more tab. There were more than 100 lines. I manually adjusted them one by one, and I was exhausted.

Is there any way to make it easier?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(11)
为情所困
set nu
set encoding=utf-8
set fdm=marker
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4"每次shift+<移动4格
if has("syntax")
  syntax on
endif
set list
set listchars=tab:>-,trail:-
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template