mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Plugin to better match and highlight code pairs
This commit is contained in:
16
.vimrc
16
.vimrc
@@ -11,7 +11,8 @@ set encoding=utf-8
|
|||||||
" change the <Leader> key from \ to ,
|
" change the <Leader> key from \ to ,
|
||||||
let mapleader=","
|
let mapleader=","
|
||||||
|
|
||||||
" Vundle manages the plugins
|
|
||||||
|
" == Vundle manages the plugins ================================================
|
||||||
" set the runtime path to include Vundle and initialize
|
" set the runtime path to include Vundle and initialize
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
@@ -41,6 +42,7 @@ Plugin 'bling/vim-bufferline'
|
|||||||
" Version control notes in the line number bar
|
" Version control notes in the line number bar
|
||||||
Plugin 'mhinz/vim-signify'
|
Plugin 'mhinz/vim-signify'
|
||||||
|
|
||||||
|
|
||||||
" Git wrapper
|
" Git wrapper
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
" fugitive git bindings
|
" fugitive git bindings
|
||||||
@@ -61,6 +63,13 @@ nnoremap <space>go :Git checkout<Space>
|
|||||||
nnoremap <space>gps :Dispatch! git push<CR>
|
nnoremap <space>gps :Dispatch! git push<CR>
|
||||||
nnoremap <space>gpl :Dispatch! git pull<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
|
" Think of sensible.vim as one step above 'nocompatible' mode: a universal
|
||||||
" set of defaults that (hopefully) everyone can agree on.
|
" set of defaults that (hopefully) everyone can agree on.
|
||||||
Plugin 'tpope/vim-sensible'
|
Plugin 'tpope/vim-sensible'
|
||||||
@@ -258,9 +267,11 @@ let g:ycm_server_python_interpreter = '/usr/bin/python3'
|
|||||||
"let g:ycm_server_log_level = 'debug'
|
"let g:ycm_server_log_level = 'debug'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
" Improved Django handling
|
" Improved Django handling
|
||||||
Plugin 'tweekmonster/django-plus.vim'
|
Plugin 'tweekmonster/django-plus.vim'
|
||||||
|
|
||||||
|
|
||||||
" Code checker. For python, install flake8 or pylint, preferably in the
|
" Code checker. For python, install flake8 or pylint, preferably in the
|
||||||
" virtualenv. For Django support, install pylint-django
|
" virtualenv. For Django support, install pylint-django
|
||||||
Plugin 'w0rp/ale'
|
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_ctags_exclude = ["*.min.*", "build", ".bundle", ".git", "log", "node_modules", "tmp", "vendor", "*.vim/bundle/*"]
|
||||||
"let g:gutentags_trace = 1
|
"let g:gutentags_trace = 1
|
||||||
|
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
filetype plugin indent on " required
|
filetype plugin indent on " required
|
||||||
|
" == End of plugins ============================================================
|
||||||
|
|
||||||
|
|
||||||
"filetype plugin on
|
"filetype plugin on
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user