Browse Source

vim: update gutentags/ctrlp configuration

feature/improve-speed
bretello 12 months ago
parent
commit
52e4ed0d88
Signed by: brethil GPG Key ID: 876AAC6290170FE7
  1. 21
      vim/plugins_config.vim
  2. 2
      vim/plugs.vim

21
vim/plugins_config.vim

@ -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']

2
vim/plugs.vim

@ -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…
Cancel
Save