LoginSignup
0
0

More than 1 year has passed since last update.

Mac+VSCodeでkeybinding.jsonを編集してWord単位でカーソル移動する

Posted at

keybinding.jsonを開く

⌘K + ⌘S でキーボードショートカット一覧を表示。
右上のファイルマーク(キーボードショートカットを開く(JSON)) をクリック。

keybinding.jsonを編集

keybinding.json
// 既定値を上書きするには、このファイル内にキー バインドを挿入します
[
    {
        "key": "ctrl+n",
        "command": "cursorWordPartRight",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+p",
        "command": "cursorWordPartLeft",
        "when": "editorTextFocus"
    },
]

参考

https://qiita.com/BlueSilverCat/items/efba044e66a2be10e3d3
https://qiita.com/akitaaa/items/8ccc5949171dee22f951
https://qiita.com/keitean/items/04727aeb673d1822107e

0
0
1

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
0
0