My personal setup and notes for myself! Probably not useful to most, but you might find some useful stuff in here, especially if you use Colemak and Vim!
I have intuitive and concise mappings to reconcile Colemak and Vim with traditional homerow arrows. All my tools [less, tmux, etc] are configured consistently in this Vim style. I've been using this since 2008 and haven't looked back!
The idea is to use HNEI as arrows – keeping the traditional Vim homerow style – and changing as
little else as possible. This means JKL are free to use and NEI need new keys.
k/Kis the newn/N.s/Sis the newi/I["inSert"].j/Jis the newe/E["Jump" to EOW].l/Lskip to the beginning and end of lines. Much more intuitive than^/$.Ctrl-Ljoins lines, makingLthe veritable "Line" key.rreplacesias the "inneR" modifier [e.g.diwbecomesdrw].- That's most of it! See .vimrc for a few other details...
Includes customization for:
- zsh - shell flavored with prezto
- tmux - session management and shell multiplexing
- vim - text editing
- git - version control
- pentadactyl - Firefox Vim-inspired browsing
- powerline - statusline and prompt for vim, tmux, zsh, and others
- less - pager and file viewer
Again...notes for myself.
- Clone dotfiles:
git clone https://github.com/bunnyfly/dotfiles.git ~/dotfiles - Install dotfiles:
cd ~/dotfiles && ./install_dotfiles.sh - Install Vim plugins:
:PlugCleanand:PlugUpgradeand:PlugUpdate - Install Zim:
git clone --recursive https://github.com/zimfw/zimfw.git ~/.zim - Fill in .<program>rc-local configs.
sudo apt-get install python-pippip install powerline-statuspip install --user neovimlesskey ~/.lesskeysudo apt-get install exuberant-ctagssudo apt-get install silversearcher-agsudo apt-get install ack-grep
...and probably some other steps like installing Powerline-enabled fonts. But that's most of it.
OSX's default less install comes with lesskey disabled. Solution is to build your own! Verify
the most recent version of less's URL and do something like:
wget http://www.greenwoodsoftware.com/less/less-481.zip
unzip less-481.zip
cd less-481
./configure && make installThis installs it to /usr/local/bin; you may need to change your PATH order or replace
/usr/bin/less with /usr/local/bin/less or a link to it.