在Linux的VIM下,ctrl+v选中代码块后,就 > 或 < 就可以达到想要的效果。 在Win下,ctrl+v 要换成 ctrl+q 转载于:https://www.cnblogs.com/buptlss/p/3511766.html