1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Plugin to better match and highlight code pairs

This commit is contained in:
2018-07-18 10:45:21 +02:00
parent 6e8d004051
commit 14853e5cef

16
.vimrc
View File

@@ -11,7 +11,8 @@ set encoding=utf-8
" change the <Leader> key from \ to ,
let mapleader=","
" Vundle manages the plugins
" == Vundle manages the plugins ================================================
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
@@ -41,6 +42,7 @@ Plugin 'bling/vim-bufferline'
" Version control notes in the line number bar
Plugin 'mhinz/vim-signify'
" Git wrapper
Plugin 'tpope/vim-fugitive'
" fugitive git bindings
@@ -61,6 +63,13 @@ nnoremap <space>go :Git checkout<Space>
nnoremap <space>gps :Dispatch! git push<CR>
nnoremap <space>gpl :Dispatch! git pull<CR>
" Better matching of code pairs
Plugin 'andymass/vim-matchup'
" Deferred highlighting improves cursor movement performance
let g:matchup_matchparen_deferred = 1
" Think of sensible.vim as one step above 'nocompatible' mode: a universal
" set of defaults that (hopefully) everyone can agree on.
Plugin 'tpope/vim-sensible'
@@ -258,9 +267,11 @@ let g:ycm_server_python_interpreter = '/usr/bin/python3'
"let g:ycm_server_log_level = 'debug'
endif
" Improved Django handling
Plugin 'tweekmonster/django-plus.vim'
" Code checker. For python, install flake8 or pylint, preferably in the
" virtualenv. For Django support, install pylint-django
Plugin 'w0rp/ale'
@@ -366,9 +377,12 @@ set statusline+=%{gutentags#statusline()}
let g:gutentags_ctags_exclude = ["*.min.*", "build", ".bundle", ".git", "log", "node_modules", "tmp", "vendor", "*.vim/bundle/*"]
"let g:gutentags_trace = 1
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" == End of plugins ============================================================
"filetype plugin on