日々精進

新しく学んだことを書き留めていきます

iTerm2の設定を複数のMacで共有する

Dropboxを使って同期する。
・~/Library/Preferences/com.googlecode.iterm2.plist
 をDropboxフォルダに移動する。
Dropbox下の設定ファイルにシンボリックリンクを張る

ln -s ~/Dropbox/com.googlecode.iterm2.plist ~/Library/Preferences/com.googlecode.iterm2.plist

これで設定を同期できる。
dot files系もよくこういうやり方で同期しますね。


番外:
iTerm2でKeymapを変更するときによく使うキーコードの一覧↓
ASCII Table - table of ASCII codes
iTerm2はなんでHexコードでキーバインドを指定するんだろう。。