-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
69 lines (55 loc) · 1.36 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
58
59
60
61
62
63
64
65
66
67
68
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'ervandew/supertab'
Plugin 'altercation/vim-colors-solarized'
Plugin 'tpope/vim-fugitive'
call vundle#end()
filetype plugin indent on
"call pathogen#infect()
filetype on
syntax on
set laststatus=2
set number
set tabstop=2
set shiftwidth=2
set expandtab
set ignorecase
set hlsearch
set ruler
set nofoldenable
set mouse=a
set showmode
set autoindent
set incsearch
set guifont=Monaco:h13bold
set guioptions-=T
syntax enable
set background=light
colorscheme solarized
let mapleader = ","
map <leader>n :NERDTreeToggle<CR>
map <leader>nm :NERDTreeMirror<CR>
map <leader>nf :NERDTreeFind<CR>
map <leader>h :nohlsearch<CR>
map <leader>p :PluginInstall<CR>
let g:fuzzy_ignore = "*.log,*.class,gems/gems/**"
let g:ctrlp_map = '<Tab>'
let g:ctrlp_cmd = 'CtrlP'
autocmd BufRead *.as set filetype=actionscript
:highlight RedundantSpaces ctermbg=white guibg=white
:match RedundantSpaces /\s\+$\| \+\ze\t/
"NO MORE MIDDLE CLICK PASTE!!!
:map <MiddleMouse> <Nop>
:imap <MiddleMouse> <Nop>
"ctrlp options
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(test_preprocessed|production_preprocessed)$',
\ }