0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

BracketsのプラグインEmmetのショートカットを追加する

Last updated at Posted at 2020-09-14

BracketsにプラグインのEmmetを入れている。
Emmetには開始タグから終了タグまでをまるっと選択する便利な「Balance」という機能がある。
めちゃくちゃ便利なので多用するのだけど、ショートカットがイマイチ複雑で使いづらかったので、カスタマイズしてみた。

Bracketsの「デバッグ」→「ユーザーキーマップ」を開き、下記のように記述する。

keymap.json
{
    "documentation": "https://github.com/adobe/brackets/wiki/User-Key-Bindings",
    "overrides": {
        "Ctrl-Shift-A": "io.emmet.balance_outward",
        "Ctrl-Shift-B": "io.emmet.balance_inward"
    }
}

これでショートカットを
Balance(outward)はCtrl+Shift+A
Balance(inward)はCtrl+Shift+B
に設定された。

【参考にさせていただいたページ】
コーダーの8割が知らないEmmetの隠れ機能!開始タグと終了タグは自動選択!
https://qiita.com/Qiita/items/c686397e4a0f4f11683d

Bracketsのショートカットを変更してカスタマイズする方法
https://qiita.com/assialiholic/items/95b1f3502d7c03aed1be

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?