3
4

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の入力が捗るショートカットキー for Mac

Last updated at Posted at 2019-08-25

概要

最近Macに変えましたが、テキストエディタでの入力作業の効率アップのため、ショートカットキーまとめ。
いつも「あの機能のショートカットキーなんだったかな?」となりがちなので( ´Д`)y━・~~
備忘録として新たに追加していきますので、並びはバラバラです。項目が増えて見にくくなったら整理します。

キー説明

⌘:command
⇧:shift
⌥:option
⌃:control
⇅:上下キー
↵:エンターキー
→|:タブキー

ショートカットキー一覧

やること     キー操作     備考  
カーソルキーの移動(右)   ⌃ + F
カーソルキーの移動(左)   ⌃ + B
カーソルキーの移動(上)   ⌃ + P
カーソルキーの移動(下)   ⌃ + N
カーソル行の先頭に移動   ⌃ + A
カーソル行の行末に移動   ⌃ + E
カーソル行の削除      ⌃ + ⇧ + K ドラッグしての選択は不要
カーソル右側の文字を削除 ⌃ + D
カーソル左側の文字を削除 ⌃ + H
カーソル右側の文字から行末までを削除 ⌃ + H
カーソル行のコピー   ⌃ + C ドラッグしての選択は不要
カーソル行のコピー   ⌃ + L
カーソル行の移動      ⌥ + ⇅
カーソル行を下に複製 ⇧ + ⌥ + ⇅
カーソル行の下に空行を追加 ⌘ + ↵
カーソル行の上に空行を追加 ⌘ + ⇧ + ↵
マルチカーソル   ⌥ + ↵(他行)
同じ単語の選択   ⌘ + D 単語をドラッグで選択して
同じ単語を全て選択 ⌘ + ⇧ + L
単語の検索 ⌘ + F ⌘ + G(次),⌘ + ⇧ + G(戻)
単語の置換 ⌘ + ⌥ + F
ファイルの検索   ⌘ + P           
コマンドパレットの表示   ⌘ + ⇧ + P 単語をドラッグで選択して
サイドバーの表示/非表示   ⌘ + B
インデント調整 字上げ(字下げ) →| (+ ⇧)
ターミナルの起動(on/off) ⌃ + ⇧ + @
3
4
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
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?