LoginSignup
1
0

More than 1 year has passed since last update.

iTerm2 でカーソルを単語単位で移動するショートカット

Last updated at Posted at 2022-08-16

概要

iTerm2 でカーソルを単語単位で移動するショートカットを設定したい。
Alt(Option) + 矢印(→←)でカーソルを移動させたい。

VSCode のターミナル上ではデフォルトの設定で移動できるが、iTerm2ではできなかったので、メモ

環境

  • iTerm2
  • zsh
$ echo $SHELL
/usr/local/bin/zsh

設定方法

iTerm2 -> Preference -> Profiles -> Keys -> +ボタンで設定追加

  • 左矢印の設定を追加する。
image.png
  • 右矢印の設定を追加する。
image.png

参考

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