Skip to content

Instantly share code, notes, and snippets.

@lingceng
Created December 4, 2013 02:44
Show Gist options
  • Save lingceng/7781475 to your computer and use it in GitHub Desktop.
Save lingceng/7781475 to your computer and use it in GitHub Desktop.
vimrc on windows, ctrlp.vim, indent
" ctrlp.vim
"
" cd D:/Vim/vimfiles
" git clone https://github.com/kien/ctrlp.vim.git bundle/ctrlp.vim
"
" :helptags D:\Vim\vimfiles\bundle\ctrlp.vim\doc
"
set runtimepath^=D:\Vim\vimfiles\bundle\ctrlp.vim
filetype plugin indent on " required!
" blankspace to replace tab
set sw=2
set ts=2
set expandtab
"Put vim files in the temp directory instead of the current directory
set dir=D:\Vim\temp
set backupdir=D:\Vim\temp
" set encoding
set fileencodings=utf-8,chinese,latin-1
" jslint
map! lint !D:\jsl-0.3.0\jsl.exe -process %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment