mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 22:57:03 +01:00
Add ripgrep vim plugin
This commit is contained in:
28
.vimrc
28
.vimrc
@@ -1,5 +1,6 @@
|
|||||||
" general configuration:
|
" general configuration:
|
||||||
syntax on " Turn on colors filetype plugin on " Enables the ftplugin options filetype indent on
|
syntax on
|
||||||
|
filetype plugin on " Enables the ftplugin options filetype indent on
|
||||||
set nocompatible " turn off vi-compatibility (should be on by default)
|
set nocompatible " turn off vi-compatibility (should be on by default)
|
||||||
set autoindent " Automaticaly indent while writing
|
set autoindent " Automaticaly indent while writing
|
||||||
set smarttab
|
set smarttab
|
||||||
@@ -115,6 +116,13 @@ Plug 'tpope/vim-commentary'
|
|||||||
" use with `:Coveragepy report` or `:Coveragepy show`
|
" use with `:Coveragepy report` or `:Coveragepy show`
|
||||||
Plug 'alfredodeza/coveragepy.vim'
|
Plug 'alfredodeza/coveragepy.vim'
|
||||||
|
|
||||||
|
" Gruvbox color scheme
|
||||||
|
Plug 'morhetz/gruvbox'
|
||||||
|
|
||||||
|
" Ripgrep plugin for recursive search
|
||||||
|
" use `:Rg <pattern>` to search in current directory
|
||||||
|
Plug 'jremmen/vim-ripgrep'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
@@ -130,16 +138,26 @@ command NT NERDTreeTabsToggle
|
|||||||
let g:pymode_options_max_line_length = 120
|
let g:pymode_options_max_line_length = 120
|
||||||
"let g:pydiction_location = '~/.vim/pydiction-1.2/complete-dict'
|
"let g:pydiction_location = '~/.vim/pydiction-1.2/complete-dict'
|
||||||
|
|
||||||
|
" Gruvbox color scheme
|
||||||
|
" ====================
|
||||||
|
"
|
||||||
|
colorscheme gruvbox
|
||||||
|
|
||||||
|
" vim-ripgrep
|
||||||
|
" ===========
|
||||||
|
"
|
||||||
|
let g:rg_highlight = 1
|
||||||
|
|
||||||
" vim-gitgutter
|
" vim-gitgutter
|
||||||
" =============
|
" =============
|
||||||
"
|
"
|
||||||
let g:gitgutter_sign_added = '▇▇'
|
let g:gitgutter_sign_added = '▇▇'
|
||||||
let g:gitgutter_sign_modified = '▇▇'
|
let g:gitgutter_sign_modified = '▇▇'
|
||||||
let g:gitgutter_sign_removed = '▇▇'
|
let g:gitgutter_sign_removed = '▇▇'
|
||||||
highlight GitGutterAdd ctermfg = 2
|
highlight GitGutterAdd ctermfg = 2 guifg=#008000
|
||||||
highlight GitGutterChange ctermfg = 3
|
highlight GitGutterChange ctermfg = 3 guifg=#808000
|
||||||
highlight GitGutterDelete ctermfg = 1
|
highlight GitGutterDelete ctermfg = 1 guifg=#800000
|
||||||
highlight SignColumn ctermbg=0
|
highlight SignColumn ctermbg=0 guibg=#000000
|
||||||
|
|
||||||
" Vala
|
" Vala
|
||||||
autocmd BufRead *.vala,*.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m
|
autocmd BufRead *.vala,*.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m
|
||||||
|
|||||||
Reference in New Issue
Block a user