LoginSignup
1
1

More than 5 years have passed since last update.

単語単位でカーソルを移動したりする

Last updated at Posted at 2012-11-03

おそらく標準ではEmacs系のキーバインドになっているので、だいたいEmacsと同じような操作ができることに昨日気づいた。が、zshだけ微妙に挙動が違う。

M-f カーソル位置の単語の末尾に移動(zshは次の単語の先頭に移動)
M-p 前の単語の先頭に移動
M-<BS> この単語のカーソルより前の部分を削除
M-d この単語のカーソルより後ろの部分を削除
M-t カーソル位置の単語を前の単語と交換

などなど。システムによってはM-カーソルキーも使える。

1
1
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
1
1