命令“>”两次相同

时间:2012-11-20 11:07:11

标签: vim

当我使用>命令缩进某些内容时,它会缩进两次,我的意思是:

This is a code
This is too
Me either

应用>命令:

This is a code
        This is too
Me either

预期结果:

This is a code
    This is too
Me either

是的,我的ts=4

1 个答案:

答案 0 :(得分:3)

你应该设置:

set shiftwidth=4