TH's Notes
  • Home
  • Categories
  • Tags
  • Archives

iTerm2 中好用的設定

iTerm2 被設計用來取代 Mac 內建的 Terminal; 這裡記錄了我個人的一些偏好設定。

偏好設定

以下的偏好都可以在 Preference 裡面進行設定

  • 開啟新分頁時,自動進入前一個 session 的所在目錄

    Profile -> General -> Login shell

    Profile -> General -> Reuse previous session's directory

  • 設定主題風格(例如背景顏色...等)

    Profile -> Colors -> Load Presets... -> Tango Dark

  • 改變字型和大小

    Profile -> Text -> Change Font

  • 讓 alt/option key 可以在 Emacs 中正常工作

    Profile -> Keys -> Left option key acts as: +Esc

    Profile -> Keys -> Right option key acts as: +Esc

  • 使用 alt + Space 快速隱藏/顯示 iTerm2

    Profile -> Keys -> Show/hide iTerm2 with a system-wide hotkey

Comments
comments powered by Disqus

  • « 實作簡易的搜尋功能
  • 使用 RSpec 做自動測試 »

Published

Dec 5, 2014

Category

Misc

Tags

  • utils 10
  • Powered by Pelican. Theme: Elegant by Talha Mansoor