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 5 years have passed since last update.

VSCode の Zoom Out が Ctrl + "-" でできない場合

Posted at

VSCode の Zoom Out が Ctrl + "-" でできなかったので回避したときのメモ

現象

  • File -> Preference -> Keyboard Shortcut で Zoom Outの Key bindings を確認
  • (Ctrl) + ("-") が割当てられているように見えるが、きかない。
  • (Ctrl) + (Shift) + ("-") も試してみたけどダメ。
  • (Ctrl) + (Shift) + (Numpad_Substract) はテンキーなかったので試せず。(多分これはきいてた?)

image.png

調査

  • (Ctrl) + ("-") も、(Ctrl) + (Shift) + ("-") も、他の複数のコマンドにアサインされていた
  • そちらのコマンドが優先されているようにみえる

回避方法

  • 乱暴かもしれないが、(Ctrl) + ("-")で検索して他のコマンドのKey bindingsを一旦別のキーを割り当てて回避。(もしかしたら優先順位とか付けられるのかもしれないけど、普段使わないコマンドだったので)

image.png
↑これは、(Ctrl) + (Shift) + ("-")に割り当てられてた別のコマンドの例

補足

もしかすると VSCode のKeymap テンプレートの種類によって状況違うかもしれません。(私の環境はVSです)
Zoom Outに限らず、普段使っているショートカットきかないなーと思ったら、一度ほかのキーに割り当てられてないか、確認してみようと思いました。

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?