• home
  • about
  • 全ての投稿
  • ソフトウェア・ハードウェアの設定のまとめ
  • 分析関連のまとめ
  • ヘルスケア関連のまとめ
  • 生涯学習関連のまとめ

iterm2

date: 2020-12-29 excerpt: iterm2の使い方とおすすめ設定

tag: macosxiterm2configurationterminal emulator


iterm2の使い方とおすすめ設定

概要

  • MacOSXで動作するターミナルエミュレータのデファクトスタンダード
  • トラブルが発生したときのドキュメント量が多い

インストール

$ brew install iterm2

iterm2のおすすめ設定

タブの移動のショートカット

  • [Keys] -> [Key Bindings]
    1. Next Tab: shift + arrow right
    2. Previous Tab: shift + arrow left

タブの位置の移動

  • [Keys] -> [Key Bindings]
    1. Move Tab Right: ^⇧ + arrow right
    2. Move Tab Left: ^⇧ + arrow left

Two finger Swipeの無効化(MacBookで誤操作が多いため)

  • [Advanced] -> [Tabs] -> [Allow two-finger interactive...を無効化]

自動 copy modeの無効化

  • [General] -> [Selection] -> [Automatically enter copy mode when...を無効化]

トラブルシューティング

zshで⌥ + Arrowが動作しない

  • 原因
    • デフォルトの設定で特殊なコードが送られるように設定されているから
  • 対応
    • [Preferences] -> [Profiles] -> [Keys] -> [Key Mappings]から⌥ + Arrowを削除する


macosxiterm2configurationterminal emulator Share Tweet