94 lines
2.4 KiB
Text
94 lines
2.4 KiB
Text
" vim: filetype=vim
|
|
" ==============================
|
|
" VIM-Plug - Plugin Manager
|
|
" ==============================
|
|
|
|
" ----- Vim Plugin Directory (Change required)
|
|
let $vimplug_bundle='~/.local/share/vim/bundle'
|
|
" let $vimplug_bundle='c:\_local\share\vim\bundle'
|
|
|
|
" ----- List of used plugins
|
|
call plug#begin($vimplug_bundle)
|
|
|
|
Plug 'deoplete-plugins/deoplete-jedi'
|
|
Plug 'kovetskiy/sxhkd-vim'
|
|
Plug 'lervag/vimtex'
|
|
Plug 'vim-airline/vim-airline'
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
Plug 'autozimu/LanguageClient-neovim', {
|
|
\ 'branch': 'next',
|
|
\ 'do': 'bash install.sh',
|
|
\ }
|
|
Plug 'SirVer/ultisnips'
|
|
Plug 'honza/vim-snippets'
|
|
if has('nvim')
|
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|
else
|
|
Plug 'Shougo/deoplete.nvim'
|
|
Plug 'roxma/nvim-yarp'
|
|
Plug 'roxma/vim-hug-neovim-rpc'
|
|
endif
|
|
Plug 'preservim/nerdcommenter'
|
|
" Plug 'ycm-core/YouCompleteMe'
|
|
Plug 'preservim/nerdtree'
|
|
Plug 'ryanoasis/vim-devicons'
|
|
if !has('nvim')
|
|
Plug 'ptzz/lf.vim'
|
|
else
|
|
Plug 'ptzz/lf.vim'
|
|
Plug 'rbgrouleff/bclose.vim'
|
|
endif
|
|
Plug 'tpope/vim-commentary'
|
|
" Plug '~/vim-rpc', {'dir': '~/.local/share/vim/bundle/vim-rpc'}
|
|
Plug 'hugolgst/vimsence'
|
|
" Plug 'vbe0201/vimdiscord'
|
|
" Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
|
|
|
call plug#end()
|
|
|
|
" ----- PlugIns Configuration
|
|
" - deoplete
|
|
let g:deoplete#enable_at_startup = 1
|
|
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
|
|
|
|
" - coc.nvim
|
|
|
|
" " TextEdit might fail if hidden is not set.
|
|
" set hidden
|
|
|
|
" " Some servers have issues with backup files, see #649.
|
|
" set nobackup
|
|
" set nowritebackup
|
|
|
|
" " Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
|
|
" " delays and poor user experience.
|
|
" set updatetime=300
|
|
|
|
" " Don't pass messages to |ins-completion-menu|.
|
|
" set shortmess+=c
|
|
|
|
" inoremap <silent><expr> <TAB>
|
|
" \ pumvisible() ? "\<C-n>" :
|
|
" \ <SID>check_back_space() ? "\<TAB>" :
|
|
" \ coc#refresh()
|
|
" inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
|
|
|
" - Lf
|
|
" let g:lf_map_keys = 0
|
|
" map <C-n> :Lf<CR>
|
|
|
|
" - YouCompleteMe
|
|
" let g:ycm_autoclose_preview_window_after_completion = 1
|
|
|
|
" - Powerline Integraton
|
|
let g:airline_powerline_fonts = 1
|
|
let g:airline_left_sep=' '
|
|
let g:airline_right_sep=' '
|
|
let g:airline_theme='onedark'
|
|
|
|
" - Snippet
|
|
|
|
let g:UltiSnipsExpandTrigger="<C-Tab>"
|
|
let g:UltiSnipsJumpForwardTrigger="<C-Tab>"
|
|
let g:UltiSnipsJumpBackwardTrigger="<S-Tab>"
|
|
let g:UltiSnipsEditSplit="vertical"
|