|
@@ -11,7 +11,7 @@ call plug#begin('~/.vim/plugged')
|
|
|
Plug 'junegunn/indentLine'
|
|
|
Plug 'sjl/gundo.vim'
|
|
|
Plug 'scrooloose/syntastic'
|
|
|
-Plug 'majutsushi/tagbar'
|
|
|
+Plug 'preservim/tagbar'
|
|
|
Plug 'scrooloose/nerdtree'
|
|
|
Plug 'bling/vim-airline'
|
|
|
Plug 'kien/ctrlp.vim'
|
|
@@ -34,11 +34,16 @@ Plug 'SirVer/ultisnips'
|
|
|
Plug 'honza/vim-snippets'
|
|
|
Plug 'rkitover/vimpager'
|
|
|
Plug 'ryanoasis/vim-devicons'
|
|
|
+Plug 'rust-lang/rust.vim'
|
|
|
Plug 'https://git.openics.org/kolter/vim-bindzone.git'
|
|
|
call plug#end()
|
|
|
" }}}
|
|
|
|
|
|
" {{{ General Settings
|
|
|
+
|
|
|
+" Leader key
|
|
|
+let mapleader = ","
|
|
|
+
|
|
|
" Filetypes Settings
|
|
|
if has('autocmd')
|
|
|
filetype plugin indent on
|
|
@@ -252,7 +257,7 @@ nmap <F4> :call ToggleSpell()<CR>
|
|
|
imap <F4> <Esc>:call ToggleSpell()<CR>a
|
|
|
" }}}
|
|
|
|
|
|
-" {{{ Gundo extension Setup
|
|
|
+" {{{ Gundo Plugin Setup
|
|
|
" Gundo sidebar on the right
|
|
|
let g:gundo_right = 1
|
|
|
" Gundo layout
|
|
@@ -270,7 +275,7 @@ let g:gundo_close_on_revert = 1
|
|
|
nnoremap <F3> :GundoToggle<CR>
|
|
|
" }}}
|
|
|
|
|
|
-" {{{ Syntastic extension Setup
|
|
|
+" {{{ Syntastic Plugin Setup
|
|
|
" automatically open/close pane when errors (or not)
|
|
|
let g:syntastic_auto_loc_list = 1
|
|
|
" Redefine errors/warning symbols on sidebar
|
|
@@ -279,12 +284,13 @@ let g:syntastic_style_error_symbol = 'ee'
|
|
|
let g:syntastic_warning_symbol = 'WW'
|
|
|
let g:syntastic_style_warning_symbol = 'Ws'
|
|
|
" redefine default python linter
|
|
|
+let g:syntastic_python_checkers=['flake8', 'python3']
|
|
|
"let g:syntastic_python_checker = 'pylint'
|
|
|
" add options to python linter
|
|
|
"let g:syntastic_python_checker_args = ''
|
|
|
" }}}
|
|
|
|
|
|
-" {{{ ctrlp extension Setup
|
|
|
+" {{{ ctrlp Plugin Setup
|
|
|
" Change default key
|
|
|
let g:ctrlp_map = '<c-o>'
|
|
|
" Match window height
|
|
@@ -293,12 +299,17 @@ let g:ctrlp_max_height = 20
|
|
|
map <c-b> :CtrlPBuffer<cr>
|
|
|
" }}}
|
|
|
|
|
|
-" {{{ airline extension setup
|
|
|
+" {{{ airline Plugin setup
|
|
|
let g:airline_powerline_fonts=1
|
|
|
let g:airline#extensions#tabline#enabled=1
|
|
|
" }}}
|
|
|
|
|
|
-" {{{ tagbar extension setup
|
|
|
+" {{{ NerdTree Plugin setup
|
|
|
+nnoremap <C-t> :NERDTreeToggle<CR>
|
|
|
+nnoremap <C-f> :NERDTreeFind<CR>
|
|
|
+" }}}
|
|
|
+
|
|
|
+" {{{ tagbar Plugin Setup
|
|
|
nmap <F8> :TagbarToggle<CR>
|
|
|
" }}}
|
|
|
|