12
10

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.

bashでの移動キーバインド(まとめメモ)

Last updated at Posted at 2015-12-28

bashでショートカットをなかなか使えていないので(すぐ忘れちゃうので)、一度まとめてみました。
基本的に備忘用なので、すでによく使っているもの([Ctrl]+[l]とか)や、特に不要だと思うもの(deleteと同じ動作とか)については記載を省いています。

カーソル移動系

  • [Ctrl]+[a] : 行の先頭に移動
  • [Ctrl]+[e] : 行の末尾に移動
  • [Esc]+[f] : 1単語右側にカーソルを移動
  • [Esc]+[b] : 1単語左側にカーソルを移動

エスケープとの組み合わせという珍しいショートカットが使えるようです。

切り取り貼り付け系

  • [Ctrl]+[k] : カーソル右側を全て切り取り
  • [Ctrl]+[u] : カーソル左側を全て切り取り
  • [Ctrl]+[w] : カーソル左側にある1単語を切り取り
  • [Esc] + [d] : カーソル右側にある1単語を切り取り
  • [Ctrl]+[y] : ペースト
まずはこのくらいを使いこなせるようにします。
12
10
1

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
12
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?