-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
130 lines (102 loc) · 3.6 KB
/
vimrc
File metadata and controls
130 lines (102 loc) · 3.6 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" Vundle - https://github.com/VundleVim/Vundle.vim?target=https://github.com
Plugin 'VundleVim/Vundle.vim'
" tender.vim - https://github.com/jacoborus/tender.vim?target=https://github.com
Plugin 'jacoborus/tender.vim'
" The NERDTree - https://github.com/preservim/nerdtree?target=https://github.com
Plugin 'preservim/nerdtree'
" Tagbar - https://github.com/preservim/tagbar?target=https://github.com
Plugin 'majutsushi/tagbar'
" lightline - https://github.com/itchyny/lightline.vim?target=https://github.com
Plugin 'itchyny/lightline.vim'
" surround.vim - https://github.com/tpope/vim-surround?target=https://github.com
Plugin 'tpope/vim-surround'
" YouCompleteMe - https://github.com/ycm-core/YouCompleteMe?target=https://github.com
Plugin 'ycm-core/YouCompleteMe'
" FixedTaskList - https://github.com/fisadev/FixedTaskList.vim?target=https://github.com
Plugin 'fisadev/FixedTaskList.vim'
" commentary.vim - https://github.com/tpope/vim-commentary?target=https://github.com
Plugin 'tpope/vim-commentary'
" fugitive.vim - https://github.com/tpope/vim-fugitive?target=https://github.com
Plugin 'tpope/vim-fugitive'
" Rainbow Parentheses Improved - https://github.com/luochen1990/rainbow?target=https://github.com
Plugin 'luochen1990/rainbow'
" SimpylFold - https://github.com/tmhedberg/SimpylFold?target=https://github.com
Plugin 'tmhedberg/SimpylFold'
" Syntastic - https://github.com/vim-syntastic/syntastic?target=https://github.com
Plugin 'vim-syntastic/syntastic'
" Flake8 - https://github.com/nvie/vim-flake8?target=https://github.com
Plugin 'nvie/vim-flake8'
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
" filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" vim | settings
set nofoldenable
" set nu
set clipboard=unnamed
set ruler
set ruler
set tabstop=4
set shiftwidth=4
set autoindent
set showmatch
set enc=utf-8
set nobackup
set noswapfile
set backspace=indent,eol,start
set scrolloff=10
set incsearch
set hlsearch
autocmd FileType python map <buffer> <F5> :w<CR>:exec '!python3' shellescape(@%, 1)<CR>
" tender.vim | settings
if (has("termguicolors"))
set termguicolors
endif
" The NERDTree | settings
autocmd VimEnter * if !argc() | NERDTree | endif " start pluggin by default on a plain 'vim' call
let NERDTreeWinSize=40 " set window size to '40'
let NERDTreeIgnore=['\.pyc$', '\.pyo$', '__pycache__$'] " ignore files with 'pyc$', 'pyo$', '__pycache__$' extensions
nmap <F2> :NERDTreeToggle<CR>
" Tagbar | settings
nmap <F8> :TagbarToggle<CR>
" lightline | settings
set laststatus=2
set noshowmode
" YouCompleteMe | settings
let g:ycm_autoclose_preview_window_after_insertion = 1
let g:ycm_autoclose_preview_window_after_completion = 1
let g:ycm_confirm_extra_conf = 0
" FixedTaskList | settings
nmap <F9> :TaskList<CR>
let g:tlTokenList = ['FIXME', 'TODO', 'ToDo', 'FixMe']
let g:tlWindowPosition = 1
let g:tlRememberPosition = 1
" Rainbow Parentheses Improved | settings
let g:rainbow_active = 1
" SimplyFold | settings
let g:SimpylFold_docstring_preview = 1
let g:SimpylFold_fold_docstring = 0
let g:SimpylFold_fold_import = 0
let g:SimpylFold_fold_blank = 0
let b:SimpylFold_fold_docstring = 0
let b:SimpylFold_fold_import = 0
let b:SimpylFold_fold_blank = 0
nnoremap <space> za
" Syntastic | settings
let python_highlight_all=1
syntax on