LoginSignup
2
0

More than 5 years have passed since last update.

VSCodeのVimプラグインでCmd+vでビジュアルブロックモードに移行したい

Last updated at Posted at 2019-01-17

この記事の対象者

  • VSCode使い
  • Vim操作使い
  • HHKB使い

経緯

普段HHKBを使っていて、Aの隣にあるCtrlにCmdを割り当てているんです。
※Macなら通常Aの隣はCtrl

でもそれだと、Vim操作で押しにくい位置に移動したCtrlを使わないといけなくなっちゃうんですよね。

ずっとKarabinerでCtrl+vとCmd+vをVSCode上でだけ置換する方法で我慢してたけど、ついに至高の設定を手に入れました。

設定

.vscode/keybindings.json
[
// Place your key bindings in this 
    {
        "key": "cmd+v",
        "command": "extension.vim_ctrl+v",
        "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode == 'Normal'",
    }
]

満足(´ω`)

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0