2
3

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 1 year has passed since last update.

VSCodeのターミナルでショートカットキーが突然効かなくなった

Posted at

何気に詰まったので、個人的な備忘録です。

環境

  • PC: MacBook Pro (Intel Core 2016)
  • OS: macOS Montery12.4
  • Visual Studio Code: 1.68.1

現象

VSCodeのターミナルを開いて、行を削除するショートカットキーの ctrl + K を押しても、機能しない

解決した方法

  • Code > Preferences > Keyboard Shortcuts をクリック
    Screen Shot 2022-06-29 at 1.41.26.png

  • 「workbench.action.terminal.clear」で検索して、Terminal: Clear をダブルクリック
    Screen Shot 2022-06-29 at 1.43.21.png

  • ctrl を押しながら K を押して Enter
    Screen Shot 2022-06-29 at 1.46.08.png

  • 設定ができたら、再度VSCodeのターミナルを開いて、 ctrl + K を押してみる

筆者の環境では、上記で解決できました。

参考

2
3
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
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?