【发布时间】:2012-01-08 09:31:37
【问题描述】:
当我通过 v 键选择一些代码并按 s 包围并用括号括起来时,我收到此错误:
surround.vim Visual mode s has been remove in favor of S
如何恢复此功能?
【问题讨论】:
当我通过 v 键选择一些代码并按 s 包围并用括号括起来时,我收到此错误:
surround.vim Visual mode s has been remove in favor of S
如何恢复此功能?
【问题讨论】:
只需将其映射回 S?
vmap s S
【讨论】:
xmap,如果你关心选择模式的话。
你不能。您必须按照建议使用 v+S 。详情请见this。
【讨论】: