mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-26 01:01:32 +01:00
vim: update gutentags/ctrlp configuration
This commit is contained in:
parent
4ef43fed16
commit
52e4ed0d88
|
@ -126,9 +126,20 @@ let g:indent_guides_start_level = 2
|
|||
let g:indent_guides_guide_size = 1
|
||||
|
||||
|
||||
let g:ctrlp_custom_ignore = {
|
||||
\ 'dir': '\v(target|build|dist|.venv)$',
|
||||
\ 'file': '\v\.(exe|so|dll)$',
|
||||
\ 'link': 'some_bad_symbolic_links',
|
||||
\ }
|
||||
" let g:ctrlp_custom_ignore = {
|
||||
" \ 'dir': '\v(target|build|dist|.venv)$',
|
||||
" \ 'file': '\v\.(exe|so|dll)$',
|
||||
" \ 'link': 'some_bad_symbolic_links',
|
||||
" \ }
|
||||
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
|
||||
|
||||
"" Gutentags"
|
||||
let g:gutentags_cache_dir = expand('~/.vim/ctags_cache/')
|
||||
|
||||
let g:gutentags_file_list_command = {
|
||||
\ 'markers': {
|
||||
\ '.git': 'git ls-files',
|
||||
\ '.hg': 'hg files',
|
||||
\ },
|
||||
\ }
|
||||
let g:gutentags_ctags_exclude = ['build', 'dist', 'css', 'json', 'yaml']
|
||||
|
|
|
@ -15,6 +15,8 @@ Plug 'https://github.com/morhetz/gruvbox'
|
|||
Plug 'https://github.com/dense-analysis/ale'
|
||||
" Open files/recent files/tags quickly
|
||||
Plug 'https://github.com/ctrlpvim/ctrlp.vim'
|
||||
" Ctrlp requires gutentags
|
||||
Plug 'https://github.com/ludovicchabant/vim-gutentags.git'
|
||||
" Git
|
||||
Plug 'https://github.com/tpope/vim-fugitive'
|
||||
" Comment shit easily
|
||||
|
|
Loading…
Reference in New Issue
Block a user