0

使用 vscodevim,如何=像 Vim 一样使用自动对齐?例如:

.wrapper-box {
        // line is out of tab. 
        .box {
          border: 1px solid red;
        }
}

在vim中,我可以选择.wrapper-box然后点击=和行自动对齐/自动缩进。如何在 VscodeVim 中使用这个键绑定?

4

1 回答 1

0
`"vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": [
                "="
            ],
            "after": [],
            "commands": [
                {
                    "command": "editor.action.reindentlines",
                    "args": []
                }
            ]
        }
    ]
`

对不起,已经回答了。

于 2017-12-03T05:24:02.153 回答