Highlight code blocks

Closes #43
This commit is contained in:
gmarik 2011-05-25 21:37:16 -05:00
parent a4e047373f
commit 72fc48e481

View File

@ -6,38 +6,42 @@
1. Setup [Vundle]: 1. Setup [Vundle]:
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle ```console
$ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
```
2. Configure bundles: 2. Configure bundles:
Sample `.vimrc`: Sample `.vimrc`:
set nocompatible " be iMproved ```vim
filetype off " required! set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/ set rtp+=~/.vim/bundle/vundle/
call vundle#rc() call vundle#rc()
" let Vundle manage Vundle " let Vundle manage Vundle
Bundle 'gmarik/vundle' Bundle 'gmarik/vundle'
" My Bundles here: " My Bundles here:
" "
" original repos on github " original repos on github
Bundle 'tpope/vim-fugitive' Bundle 'tpope/vim-fugitive'
Bundle 'lokaltog/vim-easymotion' Bundle 'lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
" vim-scripts repos " vim-scripts repos
Bundle 'L9' Bundle 'L9'
Bundle 'FuzzyFinder' Bundle 'FuzzyFinder'
Bundle 'rails.vim' Bundle 'rails.vim'
" non github repos " non github repos
Bundle 'git://git.wincent.com/command-t.git' Bundle 'git://git.wincent.com/command-t.git'
" ... " ...
filetype plugin indent on " required! filetype plugin indent on " required!
" or " or
" filetype plugin on " to not use the indentation settings set by plugins " filetype plugin on " to not use the indentation settings set by plugins
```
3. Install configured bundles: 3. Install configured bundles:
@ -79,11 +83,13 @@ see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
**A** This is the case of invalid name used with `Bundle`, which leads to attempt to clone nonexistent repo: **A** This is the case of invalid name used with `Bundle`, which leads to attempt to clone nonexistent repo:
git clone http://github.com/gmarik/non_existin_repo ```console
Cloning into non_existin_repo... git clone http://github.com/gmarik/non_existin_repo
Username: Cloning into non_existin_repo...
Password: Username:
fatal: Authentication failed Password:
fatal: Authentication failed
```
- **Q** My configuration is bundle dependant, so when I try to install plugins for the first time I get errors. How do I fix that? - **Q** My configuration is bundle dependant, so when I try to install plugins for the first time I get errors. How do I fix that?