forked from shanx/.files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
58 lines (40 loc) · 1.14 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
filetype off "Required for initializing Vundle
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'scrooloose/nerdtree'
"Turn on smart indent
set smartindent
set tabstop=4 "set tab character to 4 characters
set expandtab "turn tabs into whitespace
set shiftwidth=4 "indent width for autoindent
filetype indent on "indent depends on filetype
"Turn on incremental search with ignore case (except explicit caps)
set incsearch
set smartcase
"Enable syntax highlighting and line numbers
syntax enable
set nu
"Set 256 colors and colorscheme / font
set t_Co=256
colorscheme xoria256
" Option for MacVim font
set guifont=Bitstream\ Vera\ Sans\ Mono:h14
"Show non space special chars
"set list
"Highlight line cursor is on
set cursorline
set ruler
set showmatch
" Set tab completion options
set wildmenu
set wildmode=list:longest,full
" Shortcut to rapidly toggle `set list`
nmap <leader>l :set list!<CR>
" Use the same symbols as TextMate for tabstops and EOLs
"set listchars=tab:▸\ ,eol:¬
" Allow to use mouse to point and click at help tags
set mouse=a