infoMore than 5 years have passed since last update.
コマンドラインショートカット
Last updated at Posted at 2014-08-24
コマンドラインショートカット
- 毎回、口頭で教えるの面倒なのでまとめる
- コマンドラインはbashなので、基本的にbashが対象です
- ググればいくらでも出てくるけど、これ書いておけばよかろという状態にしたい
- キーバインドをviにしているヒトは対象外
- [t]*csh使いは社史編纂でもしとけ
Ctrl
- Ctrl + a
- Ctrl + e
- Ctrl + k
- Ctrl + u
- Ctrl + y
- Ctrl + [y|k]でカットした文字列をペースト
- Ctrl + r
- Ctrl + l
- Ctrl + d
- Ctrl + z
- Ctrl + s
- バッファを一時停止、
tail
で流れるのが困る時に使う
- Ctrl + [p|n|f|b]
- 矢印キーが使えれば必要ない上下左右(present, next, forward, backward)
- Ctrl + t
Alt
Tab補完時に大文字小文字の区別をなくす
- .bashrcか.bash_profileに下記を記述
bind 'set completion-ignore-case on'
Ctrl + sの誤射を防ぎたい
- .bashrcか.bash_profileに下記を記述
List of users who liked
17Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up