Replace easytags.vim (unmaintained) with gutentags
This commit is contained in:
parent
4b44bd7386
commit
38b6979c64
3 changed files with 13 additions and 17 deletions
1
ctags.d/youcompleteme.ctags
Normal file
1
ctags.d/youcompleteme.ctags
Normal file
|
@ -0,0 +1 @@
|
|||
--fields=+l
|
|
@ -5,7 +5,7 @@ SCRIPTPATH=$(dirname "$SCRIPT")
|
|||
HOST=$(hostname)
|
||||
|
||||
# List of the config files to install
|
||||
FILES="vimrc zshrc gitconfig vim gitignore_global git_user"
|
||||
FILES="vimrc zshrc gitconfig vim gitignore_global git_user ctags.d"
|
||||
|
||||
if [ ! -e "$HOME/.git_user" ]; then
|
||||
cp "$SCRIPTPATH/git_user.def" "$SCRIPTPATH/git_user"
|
||||
|
|
27
vimrc
27
vimrc
|
@ -13,6 +13,7 @@
|
|||
"| AutoComplPop | https://github.com/vim-scripts/AutoComplPop |"
|
||||
"| DelimitMate | https://github.com/Raimondi/delimitMate |"
|
||||
"| DetectIndent | https://github.com/roryokane/detectindent |"
|
||||
"| Gutentags | https://github.com/ludovicchabant/vim-gutentags |"
|
||||
"| Multiple-Cursors | https://github.com/terryma/vim-multiple-cursors |"
|
||||
"| Python-Mode | https://github.com/klen/python-mode |"
|
||||
"| Surround | https://github.com/tpope/vim-surround |"
|
||||
|
@ -21,6 +22,7 @@
|
|||
"| Vim-GLSL | https://github.com/tikhomirov/vim-glsl |"
|
||||
"| Vim-Gnupg | https://github.com/jamessan/vim-gnupg |"
|
||||
"| Vundle | https://github.com/gmarik/Vundle.vim.git |"
|
||||
"| YouCompleteMe | https://github.com/Valloric/YouCompleteMe |"
|
||||
"+------------------+-------------------------------------------------+"
|
||||
"[Colorschemes list]""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"+------------------+-------------------------------------------------+"
|
||||
|
@ -46,15 +48,6 @@ if has("unix") || has("mac")
|
|||
Plugin 'gmarik/Vundle.vim'
|
||||
map <F2> :VundleInstall<CR>
|
||||
map <F3> :VundleUpdate<CR>
|
||||
if has("python")
|
||||
Plugin 'klen/python-mode'
|
||||
let g:pymode_rope_lookup_project = 0
|
||||
let g:pymode_rope = 0
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
endif
|
||||
if has("ruby")
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
endif
|
||||
Plugin 'mbbill/undotree'
|
||||
map <F5> :UndotreeToggle<CR>
|
||||
Plugin 'vim-scripts/LaTeX-Box'
|
||||
|
@ -68,8 +61,11 @@ if has("unix") || has("mac")
|
|||
let g:ycm_show_diagnostics_ui = 0
|
||||
let g:ycm_collect_identifiers_from_tags_files=1
|
||||
let g:ycm_seed_identifiers_with_syntax=1
|
||||
let g:ycm_show_diagnostics_ui = 0
|
||||
let g:ycm_use_ultisnips_completer = 0
|
||||
else
|
||||
Plugin 'AutoComplPop'
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
endif
|
||||
Plugin 'w0rp/ale'
|
||||
let g:ale_linters = {
|
||||
|
@ -104,12 +100,7 @@ if has("unix") || has("mac")
|
|||
\ },
|
||||
\}
|
||||
if executable('ctags')
|
||||
"Needed for vim-easytags"
|
||||
Plugin 'xolox/vim-misc'
|
||||
Plugin 'xolox/vim-easytags'
|
||||
let g:easytags_async=1
|
||||
"Needed for YouCompleteMe"
|
||||
let g:easytags_opts=['--fields=+l']
|
||||
Plugin 'ludovicchabant/vim-gutentags'
|
||||
endif
|
||||
Plugin 'godlygeek/tabular'
|
||||
Plugin 'beyondmarc/opengl.vim'
|
||||
|
@ -119,6 +110,7 @@ if has("unix") || has("mac")
|
|||
Plugin 'mzlogin/vim-smali'
|
||||
Plugin 'jamessan/vim-gnupg'
|
||||
Plugin 'petRUShka/vim-opencl'
|
||||
Plugin 'hynek/vim-python-pep8-indent'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'captbaritone/better-indent-support-for-php-with-html'
|
||||
"[Autodetect indent style of a file]"
|
||||
|
@ -126,7 +118,8 @@ if has("unix") || has("mac")
|
|||
let g:detectindent_preferred_indent=4
|
||||
let g:detectindent_autodetect=1
|
||||
"[Solarized theme]"
|
||||
Plugin 'altercation/vim-colors-solarized'
|
||||
"Plugin 'ericbn/vim-solarized'
|
||||
Plugin 'https://gitlab.federez.net/lhark/vim-solarized.git'
|
||||
call vundle#end()
|
||||
catch
|
||||
endtry
|
||||
|
@ -239,6 +232,8 @@ set mousehide
|
|||
set background=dark
|
||||
set ttyfast
|
||||
set tabline=""
|
||||
"[Kitty doesn't support background color erase]"
|
||||
let &t_ut=''
|
||||
" set cmdheight=1 : default
|
||||
set showtabline=0
|
||||
set colorcolumn=80
|
||||
|
|
Loading…
Reference in a new issue