yying / dotfiles

Configuration files for various tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

On Linux/Mac OS X/FreeBSD, executing setup.sh should setup all the symlinks correctly for bash, screen, and vim.

On Windows, executing setup.bat should setup NTFS "symlinks" for Vim configuration files.

Post-Install Additional Downloads

Tagbar requires exuberant ctags in order to function. Download exuberant ctags for Windows/Linux here.

Syntastic support for JavaScript depends on several external JavaScript validation tools. I've had good success using JSHint. The easiest way to install is to install node.js and typing npm install -g jshint.

pylint is another useful tool for Python programming when used with Syntastic

Windows Specific Downloads

TODO: Need to find a good Windows specific C syntax checker for Syntastic.

Mac OS X Specific Downloads

It is recommended that MacVim be used on Mac OS X for more comprehensive Python/Ruby omnicomplete support.

Precompiled MacVim binaries can be found here

I recommend the following sequence of commands for installing MacVim (make sure you move mvim from MacVim install to /usr/local/bin/mvim first)

sudo rm /usr/bin/vi
sudo mv /usr/bin/vim /usr/bin/vi
sudo ln -s /usr/local/bin/mvim /usr/bin/vim
sudo ln -s /usr/local/bin/mvim /usr/bin/gvim

If you happen to actually use Vim by calling vi, you can replace /usr/bin/vi with /usr/bin/vim_old.

Mac OS X Post-Install Optional Settings

Terminal.app The default keymappings for PageUp and PageDown should be the following:

Home:     \033[1~
End:      \033[4~
PageUp:   \033[5~
PageDown: \033[6~

Using Vim

Ctrl-L - "smart" code completion
Ctrl-] - jumps to the tag definition
Ctrl-T - jumps to the previous location
F2 - toggles between a "light" and "dark" color scheme
F3 - toggles cursor column
F4 - toggles Tagbar
F5 - builds the project using make (for Makefile based projects)

About

Configuration files for various tools


Languages

Language:Shell 55.2%Language:Vim Script 44.0%Language:Batchfile 0.8%