Explain how to deal with unsolarized terminals in docs

This commit is contained in:
Yan Pritzker 2014-07-03 17:17:21 -04:00
parent 86350a58f8
commit 6fbfb168f7
3 changed files with 13 additions and 6 deletions

View File

@ -48,12 +48,24 @@ sh -c "`curl -fsSL https://raw.github.com/skwp/dotfiles/master/install.sh`" -s a
## Wait, you're not done! Do this:
* Install iTerm Solarized Colors - YADR will install Solarized colorschemes into your iTerm. Go to Profiles => Colors => Load Presets to pick Solarized Dark.
* **Install iTerm Solarized Colors** - YADR will install Solarized colorschemes into your iTerm. Go to Profiles => Colors => Load Presets to pick Solarized Dark.
* [Remap caps-lock to escape with PCKeyboardHack](http://pqrs.org/macosx/keyremap4macbook/pckeyboardhack.html) - 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.
* Remap your Alfred or Spotlight to `Ctrl-Cmd-Space`, so that you can use `Cmd-Space` to autocomplete in vim. This is much more friendly for your fingers than `Ctrl-n`.
* Set up a system wide hotkey for iTerm (Keys=>Hotkey). Recommended Cmd-Escape, which is really Cmd-Capslock.
* In iTerm, uncheck "Use Lion-style full screen" on General; in MacVim, uncheck Prefer native fullscreen under Advanced settings. This will give you fast full screen windows that are switchable without switching to spaces.
## If you want to run vim in terminal
* Make sure you install Solarized colorscheme in your terminal!
* If you don't want to use solarized terminal, then make sure you do this:
let g:yadr_using_unsolarized_terminal = 1
# in ~/.vimrc.before
* If you want to use an alternate colorcheme like Gruvbox, then in your `~/.vimrc.after` do:
let g:yadr_disable_solarized_enhancements = 1
### Upgrading
Upgrading is easy.

View File

@ -9,7 +9,3 @@
* AnsiEsc - inteprets ansi color codes inside log files. great for looking at Rails logs
* solarized - a color scheme scientifically calibrated for awesomeness (including skwp mods for ShowMarks)
* Airline - Improved status bar. Requires patched fonts (installed from fonts/ directory)
YADR provides solarized enhancements that make it even better. If you're using another theme, you can disable them with this line in `~/.vimrc.before`:
let g:yadr_disable_solarized_enhancements=1

1
vimrc
View File

@ -96,7 +96,6 @@ set wildignore+=tmp/**
set wildignore+=*.png,*.jpg,*.gif
"
" ================ Scrolling ========================
set scrolloff=8 "Start scrolling when we're 8 lines away from margins