1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 12:31:31 +01:00

vim: update gutentags/ctrlp configuration

This commit is contained in:
bretello 2021-02-01 14:13:22 +01:00
parent 4ef43fed16
commit 52e4ed0d88
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 18 additions and 5 deletions

View File

@ -126,9 +126,20 @@ let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1 let g:indent_guides_guide_size = 1
let g:ctrlp_custom_ignore = { " let g:ctrlp_custom_ignore = {
\ 'dir': '\v(target|build|dist|.venv)$', " \ 'dir': '\v(target|build|dist|.venv)$',
\ 'file': '\v\.(exe|so|dll)$', " \ 'file': '\v\.(exe|so|dll)$',
\ 'link': 'some_bad_symbolic_links', " \ 'link': 'some_bad_symbolic_links',
\ } " \ }
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] 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']

View File

@ -15,6 +15,8 @@ Plug 'https://github.com/morhetz/gruvbox'
Plug 'https://github.com/dense-analysis/ale' Plug 'https://github.com/dense-analysis/ale'
" Open files/recent files/tags quickly " Open files/recent files/tags quickly
Plug 'https://github.com/ctrlpvim/ctrlp.vim' Plug 'https://github.com/ctrlpvim/ctrlp.vim'
" Ctrlp requires gutentags
Plug 'https://github.com/ludovicchabant/vim-gutentags.git'
" Git " Git
Plug 'https://github.com/tpope/vim-fugitive' Plug 'https://github.com/tpope/vim-fugitive'
" Comment shit easily " Comment shit easily