Curl SPF13
Install oh-my-fish:
curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.fish | fish
Download:
git clone https://github.com/deloschang/dotfiles.git ~/dotfiles
Copy config to home:
ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/.vimrc.local ~/.vimrc.local
ln -s ~/dotfiles/.vimrc.bundles.local ~/.vimrc.bundles.local
cp ~/dotfiles/config.fish ~/.config/fish/config.fish
cp ~/dotfiles/snippets/javascript.snippets ~/.vim/bundle/vim-snippets/snippets/javascript/
Installing bundles in vim:
:BundleInstall
Go to config dir:
cd ~/dotfiles
(Cross platform, tested with python 2.7+)
Update March 19, 2014. Works with psutil 2.0 now.
install psutil
sudo pip install psutil
copy ~/.tmux/vendor/basic-cpu-and-memory.tmux
to bin
sudo cp ~/.tmux/vendor/basic-cpu-and-memory.tmux /usr/local/bin/tmux-mem-cpu-load
make executable
sudo chmod +x /usr/local/bin/tmux-mem-cpu-load
To start a session via “tmux”:
tm
To reattach a previous session:
ta #
To kill a session:
tk #
To reload config file
<Control + a>r
Our prefix/leader key is Control + a
now (just like the screen
multiplexer). This sequence must be typed before any tmux shortcut.
Control + a
before any commandControl + a
then?
to bring up list of keyboard shortcutsControl + a
then<Space>
to change pane arrangementControl + a
theno
to rotate panesControl + h
orj
,k
,l
to move left, down, up, right. Respectively. (vim hjkl using vim-tmux navigator)Control + a
then;
to go to last panel
Beyond your first window:
Control + a
thenc
to create a new windowControl + a
thenC
to create a new named windowControl + a
thenn
to next windowControl + a
thenp
to previous windowControl + a
then[0-9]
move to window numberControl + a
then&
to kill windowControl + a
thenx
to kill pane
Splitting windows:
Control + a
thenv
vertical split like vimControl + a
thens
horizontal split
Control + p
for ctrl+p style fuzzy-findingControl + b
for ctrl+p in buffers
- Load preset .iterm.colors
- Run
python colors.py
to ensure your ANSI colors are working