-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
77 lines (64 loc) · 1.79 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
69
70
71
72
73
74
75
76
77
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" The bundles you install will be installed here
filetype plugin indent on
Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Bundle 'scrooloose/nerdtree'
Plugin 'klen/python-mode'
Plugin 'tpope/vim-fugitive'
Plugin 'aperezdc/vim-template'
Plugin 'file:///home/vrama91/misc'
Plugin 'file:///home/vrama91/lua-support'
Plugin 'christoomey/vim-tmux-navigator'
Plugin 'tmhedberg/SimpylFold'
call vundle#end()
" Powerline setup
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus=2
" Pymode setup
let g:pymode_rope = 0
let g:pymode_doc = 1
let g:pymode_doc_key = 'K'
let g:pymode_lint = 1
let g:pymode_lint_checker = 'pyflakes,pep8'
let g:pymode_lint_write = 1
let g:pymode_virtualenv = 1
let g:pymode_breakpoint = 1
let g:pymode_breakpoint_bind = '<leader>b'
let g:pymode_syntax = 0
let g:pymode_syntax_all = 0
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
let g:pymode_syntax_space_errors = g:pymode_syntax_all
let g:pymode_folding = 0
" Docsrtring preview
"
let g:SimpylFold_docstring_preview = 1
let g:SimpylFold_fold_docstring = 0
" Templates setup
let g:templates_directory='~/.vim/templates'
let g:email='vrama91@vt.edu'
" Vim lua config
let g:lua_check_syntax = 1
" Rest of the config follows here
map <F2> :NERDTreeToggle<CR>
syntax on
colorscheme desert
set autoindent
set backspace=2
set tabstop=2
set number
set shiftwidth=2
set t_Co=256
" Highlight paired brackets
highlight MatchParen ctermbg=blue guibg=lightyellow
" Autocomplete parantheses, brackets and braces
inoremap ( ()<Left>
inoremap [ []<Left>
inoremap { {}<Left>
" Remap za to space for folding
nnoremap <space> za