iTerm2は、複数のセッションを複数の"ぺイン(窓枠)"にcmd+dやcmd+shift+dで分割表示する事ができます。ペイン間の移動は下記のショートカットになります。
- cmd+opt+←:左のペインに移動
- cmd+opt+→:左のペインに移動
- cmd+opt+↑:上のペインに移動
- cmd+opt+↓:下のペインに移動
- cmd+[:前ペインに移動
- cmd+]:次ペインに移動
ウィンドウを閉じるのは exit
defaults read NSGlobalDomain KeyRepeat
defaults read NSGlobalDomain InitialKeyRepeat
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10
# bash_completion
BASH_COMPLETION=/usr/local/etc/bash_completion
BASH_COMPLETION_DIR=/usr/local/etc/bash_completion.d
BASH_COMPLETION_COMPAT_DIR=/usr/local/etc/bash_completion.d
if [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
Command Pallet | Command + Shift + p |
画面分割 | Command + alt + 1〜4 |
project内検索 | Command + P |
ファイル内検索 | Command + F |
regex | Command + alt + F で置換 |
フォルダを指定して search and regex | Command + Shift + F |
タブ追加 | Command + t |
タブ移動 | Command + alt + <- or -> |
function search | Command + R |
"draw_white_space": "all"
"ignored_packages": []
~/Dropbox/"
), add a folder called “Sublime Text 2"
~/Library/Application\ Support/Sublime\ Text\ 2/"
)~/Dropbox/Sublime\ Text\ 2/ "
"Installed Packages"
"Packages"
"Pristine Packages"
~/Library/Application\ Support/Sublime\ Text\ 2/
"
or delete them.cd ~/Library/Application\ Support/Sublime\ Text\ 2/"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ./Packages"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages"
"mv ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User /tmp"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Packages/User ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User"
~/Library/Application\ Support/Sublime\ Text\ 2/
Installed\ Packages
Packages
Pristine\ Packages
ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages
ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ./Packages
ln -s ~/Dropbox/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages
"baseset nocompatibleset vb t_vb="searchset history=100"colorcolorscheme darkbluesyntax on"displayset titleset numberset rulerset showcmdset laststatus=2set hlsearchset wildmenuset textwidth=0set tabstop=4set shiftwidth=4"encodeset encoding=utf-8set termencoding=utf-8set fileencoding=utf-8set fileencodings=ucs-bom,euc-jp,cp932,iso-2022-jpset fileencodings+=,ucs-2le,ucs-2,utf-8autocmd BufWrite *.php :call PHPLint()function PHPLint()let result = system( &ft . ' -l ' . bufname(""))echo resultendfunction
Homebrew(ホームブリュー): 自家醸造酒、自家製ビール
formula(フォーミュラ): 調理法、製法
cellar(セラー):(食料、燃料、ワインの)地下貯蔵庫
Error: /Library/Frameworks/Mono.framework detected→ とりえあず、Mono.frameworkでぐぐる
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
#!/bin/sh -x
#This script removes Mono from an OS X System. It must be run as root
rm -r /Library/Frameworks/Mono.framework
rm -r /Library/Receipts/MonoFramework-*
for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man5; do
(cd ${dir};
for i in `ls -al | grep /Library/Frameworks/Mono.framework/ | awk '{print $9}'`; do
rm ${i}
done);
done
これを ~/bin/ にError: You have Macports or Fink installed.
This can cause trouble. You don't have to uninstall them, but you may like to
try temporarily moving them away, eg.
→ sudo mv /opt/loacal ~/macportsを実行しろっていってる見たいなので実行sudo mv /opt/local ~/macports
Error: Your pkg-config is not checking "/usr/X11/lib/pkgconfig" for packages.→ここはわからないけど、Mono消したらなくなった。
Earlier versions of the pkg-config formula did not add this path
to the search path, which means that other formula may not be able
to find certain dependencies.
To resolve this issue, re-brew pkg-config with:
brew rm pkg-config && brew install pkg-config
Error: You have a non-brew 'pkg-config' in your PATH:
/opt/local/bin/pkg-config
`./configure` may have problems finding brew-installed packages using
this other pkg-config.
Error: Your Xcode is configured with an invalid path.
You should change it to the correct path. Please note that there is no correct
path at this time if you have *only* installed the Command Line Tools for Xcode.
If your Xcode is pre-4.3 or you installed the whole of Xcode 4.3 then one of
these is (probably) what you want:
sudo xcode-select -switch /Developer
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
DO NOT SET / OR EVERYTHING BREAKS!