Skip to content

Instantly share code, notes, and snippets.

@ymxmore
Created January 9, 2014 00:15
Show Gist options
  • Select an option

  • Save ymxmore/8327203 to your computer and use it in GitHub Desktop.

Select an option

Save ymxmore/8327203 to your computer and use it in GitHub Desktop.
Mac terminal shortcut keys.
Key Description
Ctrl-A 行の先頭へ移動
Ctrl-E 行の末尾へ移動
Ctrl-F 右へ移動
Ctrl-B 左へ移動
Ctrl-U カーソル位置から行頭までを削除
Ctrl-K カーソル位置から行末までを削除
Ctrl-H カーソル位置の前の文字を削除
Ctrl-D カーソル位置の次の文字を削除
Ctrl-W カーソル位置の前の単語を削除
Ctrl-T カーソル位置とその前の文字を入れ替え
↑(Ctrl-P) コマンド履歴を古い方に移動
↓(Ctrl-N) コマンド履歴を新しい方に移動
Ctrl-R コマンド履歴からインクリメンタル検索
Tab(Ctrl-I) 途中まで入力したコマンドやパスを補完
Ctrl-L 画面をクリア
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment