Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 1.14 KB
mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -Sso ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
echo "call pathogen#infect()
set hlsearch
syntax on
filetype plugin indent on
".vimrc
map <c-f> :call JsBeautify()<cr>
" or
autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr>
" for html
autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr>
" for css or scss
autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr>
" > ~/.vimrc
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
git clone git://github.com/oscarh/vimerl.git
git clone git://github.com/myusuf3/numbers.vim.git
git clone git://github.com/kchmck/vim-coffee-script.git
git clone https://github.com/hallettj/jslint.vim.git
git clone https://github.com/majutsushi/tagbar.git
cd ~/.vim/bundle
git clone https://github.com/maksimr/vim-jsbeautify.git
cd vim-jsbeautify && git submodule update --init --recursive
nnoremap <F3> :NumbersToggle<CR>
nnoremap <F4> :NumbersOnOff<CR>
Jump to Line
Something went wrong with that request. Please try again.