This is a work in progress!
I maintain this repo as my dotfiles. You're quite welcome to make suggestions, however I may decline if it's not of personal value to me. If you're starting off also consider forking one of these other other great setups
These are the base dotfiles that I use. For more specific local needs I use the
files described in the
Local Settings section.
Setup / Installation
The setup process in based on alrra's dotfiles setup. To setup the dotfiles just run the appropriate snippet in the terminal:
The setup process will:
- Download the dotfiles on your computer (by default it will suggest
- Create some additional directories
- Symlink the git, zsh, and vim files
- Install applications / command-line tools for OS X / Ubuntu
- Set custom OS X / Ubuntu preferences
- Install vim plugins
|Setup process in action|
The dotfiles can be easily extended to suit additional local requirements by using the following files:
~/.gitconfig.local file exists, it will be automatically
included after the configurations from
~/.gitconfig, thus, allowing
its content to overwrite or add to the existing
~/.gitconfig.local to store sensitive information such
git user credentials, e.g.:
[user] name = Gabo Esquivel email = firstname.lastname@example.org
~/.vimrc.local file exists, it will be automatically sourced
~/.vimrc, thus, allowing its content to add or overwrite the
~/.vimrc.local but for
Do this: OSX
The escape key is the single most used key in vim. Old keyboards used to have Escape where Tab is today. Apple keyboards are the worst with their tiny Esc keys. But all this is fixed by remapping Caps to Escape. If you're hitting a small target in the corner, you are slowing yourself down considerably, and probably damaging your hands with repetitive strain injuries.
Basic Configuration > Key Repeat
Set up a system wide hotkey for iTerm (Keys=>Hotkey)
Recommended Cmd-Escape, which is really Cmd-Capslock.
iTerm2 offers a special terminal window that is always available with a single keystroke. This window is called the "hotkey window" and is most commonly used for occasional administrative tasks. To enable this feature, go to Preferences > Keys. Enable "Show/Hide iTerm2 with a system-wide hotkey". Click in the field and enter the key combination you'd like to use. Then check "hotkey toggles a dedicated window with profile:". A new profile will be created that is optimized for the feature. Pressing the hotkey will drop a terminal window down from the top of the screen, and pressing it again (or clicking in any other window) causes it to disappear.
in MacVim, uncheck Prefer native fullscreen under Advanced settings
Same as iTerm. The Lion style spaces navigation slows everything down for no reason.
Contributions are always welcome in the form of pull requests with explanatory comments.
Inspiration and code was taken from many sources, including:
- Mathias Bynens dotfiles
- Cătălin Mariș dotfiles
- Nick Nisi dotfiles
- Mike Coutermarsh dotfiles
- Paul Irish dotfiles
- Addy Osmani dotfiles
- Adam Eivy dotfiles
- Holman dotfiles
If you're interested in the philosophy behind why projects like these are awesome, you might want to holman's post on the subject.
The code is available under the MIT license.