WIP
- Clone this repo to ~/.config
- cd .config
- Run
sh install.sh
This script will install chunkwm & skhd from brew. It will also create symlinks for the configuration files used by Vim and chunkwm and the autoload directory.
After the script is complete, you should run these commands to add chunkwm to services.
$ brew services start chunkwm
$ brew services start skb
If you do not wish to use chunkwm, you can just uninstall these packages again..
Here's a good resource on installing Powerline and configuring it for bash: https://medium.com/@ITZDERR/how-to-install-powerline-to-pimp-your-bash-prompt-for-mac-9b82b03b1c02
Note that you can skip the Vim parts, since this config uses it's own status line file.
No tmux config is currently present in this configuration.
Remember to set the font to a powerline compatible font in iTerm > Preferences as well.
- https://vimcolors.com/823/blayu/dark
dark
- https://vimcolors.com/871/synthetic/dark
dark
- https://vimcolors.com/874/snazzy/dark
dark (default)
- https://vimcolors.com/813/night-owl/dark
dark
- https://vimcolors.com/808/fruidle/light
light
- https://github.com/chrisbra/NrrwRgn
- https://github.com/scrooloose/nerdtree
- https://github.com/airblade/vim-gitgutter
- https://github.com/valloric/matchtagalways
- https://github.com/mattn/emmet-vim
- https://github.com/cakebaker/scss-syntax.vim
- https://github.com/pangloss/vim-javascript
- https://github.com/mxw/vim-jsx
- https://github.com/lumiliet/vim-twig
- https://github.com/sjl/vitality.vim
- https://github.com/dustinknopoff/TeaCode-Vim-Extension
Want to make your own changes that doesnt affect the repository?
Create a file named .vimrc.local
in the ~/.config
directory, all settings made
in that file will overwrite the settings in this repo.
<Space>
is bound as<Leader>
- Tab triggers Emmet
<Leader>w
triggers :update<Leader>q
:qall- Use ctrl+[hjkl] to navigate between splits (including NERDTree)
<Leader>n
Focuses / Opens NERDTree window and highlights the current file<Leader>b
Toggles NERDTree windowgf
opens new split with file under cursorgT
andgt
navigates back and forth between tabsg-[1-9]
goes to a specific tabjk
exits insert modectrl+e
triggers TeaCode expanderK
(capital K) searches for word under cursor%
jump between corresponding tags- shift+tab (
<S-Tab>
) opens the autocomplete menu <Leader>nr
makes a new narrow split with the current visual selection
- Why no Powerline in Vim?
Instead of Powerline i included the .vimrc.statusline, it's a "ghetto" powerline and it looks about the same if a powerline font is configured for the terminal. But why? Well basically Powerline kills performance in Vim and for some it's to the point where it makes it unusable.
- What is TeaCode?
It's an awesome snippet manager for Mac OS, you can read more about it here: https://www.apptorium.com/teacode
If you don't want the plugin installed you should be able to do an Unplug 'dustinknopoff/Teacode-Vim-Extension
in your .vimrc.local
file.
- Write a very simple installation script that creates the symlinks needed.
- Also include python setup etc. In the installation section of this readme