Packages and configuration to make a machine feel like home (compatible with Linux/MacOS)
- Change font to
Droid Sans Mono for PowerLinelocated in fonts directory - Change theme to
Solarized Darklocated in iterm2 directory
Mnemonic key bindings inspired by Spacemacs
<SPACE>- MapLeader
| binding | description |
|---|---|
<leader>pt |
open project tree |
<leader>pl |
open project tree at current buffer location |
| binding | description |
|---|---|
<leader>ff |
find file |
<leader>fa |
open alternate file |
<leader>fp |
copy relative file path to clipboard |
| binding | description |
|---|---|
<leader>q |
quit buffer |
<leader>w |
write buffer |
<leader>bb |
find opened buffers |
<leader>bd |
delete buffer |
| binding | description |
|---|---|
<leader>ps |
interactive search |
<leader>pS |
search project with word under cursor |
// |
clear highlight search |
| binding | description | example |
|---|---|---|
| ga | interactively align visual selection 🔗 | vipga |
| binding | description |
|---|---|
vv |
vertical split |
ss |
horizontal split |
- Bind key
Ctrl-a(like GNU screen) - Vi navigation
- Preserve current directory on splits
- Git hook to re-index ctags post-checkout
- Manually re-index ctags
git ctags
TIP: Use git init in existing repos to copy the hooks
Aliases inspired by Oh My Zsh plugins.
be-bundle execzs-zeus startzc-zeus console
gco- checkoutgci- interactive branch checkout (fzf)gst- statusgb- branchgc- commitgcs- sign commitgca- stage and commitgcas- stage, sign and commitgc!- amend and commitgcs!- amend, sign and commitgca!- stage, amend and commitgcas!- stage, amend, sign and commitgfa- fetch all branches and tagsgrbc- rebase continuegrba- rebase abortgrbi- interactive rebase (fzf)
docker-stop-all-containers- stop all running containersdocker-remove-all-containers- remove all containers
Store secret environment variables in ~/.secrets. The file, when present, is
sourced by zshrc.
- tmux: Productive Mouse-Free Development Brian P. Hogan
- Thoughtbot dotfiles
- YADR dotfiles