-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
52 lines (39 loc) · 755 Bytes
/
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
" VUNDLE
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Plugins
Plugin 'tpope/vim-sensible'
Plugin 'gmarik/Vundle.vim'
Plugin 'vim-perl/vim-perl'
Plugin 'Raimondi/delimitMate'
call vundle#end()
filetype plugin indent on
" NERDTREE
let NERDTreeIgnore = ['^\.git$']
let NERDTreeShowHidden = 1
let NERDTreeChDirMode = 2
" MISC
set number
" SEARCHING
set hlsearch
set ignorecase
set smartcase
" WHITESPACE
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
" COLORS
highlight ColorColumn ctermbg=green
" BACKUP
set nobackup
set noswapfile
set nowb
" KEY MAPPING
let mapleader = ","
nnoremap <leader>s :update<CR>
nnoremap <leader>r :!%:p<CR>
nnoremap <leader>n :NERDTreeToggle<CR>
imap jj <Esc>