Created
March 10, 2013 02:52
-
-
Save cnu/5126894 to your computer and use it in GitHub Desktop.
Vimrc sachet and error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
" Pathogen | |
call pathogen#infect() | |
call pathogen#helptags() | |
set statusline=%<\ %n:%f\ %m%r%y%=%-35.(line:\ %l\ of\ %L,\ col:\ %c%V\ (%P)%) | |
filetype plugin indent on | |
syntax on | |
set number | |
set hlsearch | |
set showmatch | |
set incsearch | |
set ignorecase | |
set nowrap | |
set autoindent | |
set history=1000 | |
set cursorline | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set softtabstop=4 | |
" Nerdtree | |
autocmd vimenter * NERDTree | |
let NERDTreeShowBookmarks=1 | |
let NERDTreeChDirMode=0 | |
let NERDTreeQuitOnOpen=1 | |
let NERDTreeMouseMode=2 | |
let NERDTreeShowHidden=1 | |
let NERDTreeIgnore=['\.pyc','\~$','\.swo$','\.swp$','\.git','\.hg','\.svn','\.bzr'] | |
let NERDTreeKeepTreeInNewTab=1 | |
let g:nerdtree_tabs_open_on_gui_startup=0 | |
colorscheme Tomorrow-Night |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim | |
Error detected while processing /Users/cnu/.vimrc: | |
line 4: | |
E117: Unknown function: pathogen#infect | |
line 5: | |
E117: Unknown function: pathogen#helptags | |
line 37: | |
E185: Cannot find color scheme Tomorrow-Night | |
Press ENTER or type command to continue | |
Error detected while processing VimEnter Auto commands for "*": | |
E492: Not an editor command: NERDTree | |
Press ENTER or type command to continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment