0
0

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 3 years have passed since last update.

zsh + macOS + Visual Studio Code Terminalで単語間のカーソル移動

Posted at

結論

Option + 矢印キー

#余談
特に何も設定しなくても Esc + F or B で移動できるが押しにくすぎる
少し調べるとiTerm使ってる場合の設定方法ばっかり出てくる(今まではこれでCtrl + F or Bに設定してた)
Visual Studio Code Terminalで楽に設定できないか調べると、何も設定しなくともまさかのOption + 矢印キー...
もしやと思ってCmd + 矢印キー試すとCtrl + A or Eと同じ動きをしてびっくりドンキー

余談2

ググる過程で見つけた Option + クリック も、
任意の場所に一瞬でカーソルを飛べるので便利

一応確認時のバージョン

  • zsh 5.8 (x86_64-apple-darwin20.0)
  • Visual Studio Code Version: 1.58.0
  • macOS Big Sur Version 11.4
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?