Skip to content

Instantly share code, notes, and snippets.

View XayOn's full-sized avatar
🐍

David Francos XayOn

🐍
View GitHub Profile
@XayOn
XayOn / .vimrc
Created December 13, 2011 11:48
My new Vimrc made from scratch
call pathogen#infect()
" Clever Tab from VIM Help
function! CleverTab()
if strpart(getline("."), 0, col('.')-1) =~ '^\s*$'
return "\<TAB>"
else
return "\<C-N>"
endfunction
@XayOn
XayOn / vim_starter.sh
Created December 13, 2011 00:40
Vim Starter.
plugins=( "python.vim" "pydoc.vim" "The-NERD-tree" "minibufexpl.vim" "fugitive.vim" "Better-CSS-Syntax-for-Vim" "Syntastic" "Conque-Shell" "vimblog.vim" "mru.vim" "The-NERD-Commenter" "pythonhelper" "pythoncomplete" "taglist.vim" "TagHighlight" "snipMate" )
# Make a backup of all old stuff
[[ -e .vim ]] && mv .vim vim-backup; [[ -e .vimrc ]] && mv .vimrc vimrc-backup
# Get pathogen.
wget --no-check-certificate -nd -P ~/.vim/autoload https://github.com/vim-scripts/pathogen.vim/raw/master/plugin/pathogen.vim
# Download local-vimrc plugin (not available in an easy-to-get source
wget http://lh-vim.googlecode.com/svn/misc/trunk/plugin/local_vimrc.vim -nd -P ~/.vim/bundle/local_vimrc/plugin/