Created
June 24, 2020 12:18
-
-
Save siisee11/9a21af7c7c1e600a2f936f1a7cc98ed5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"================vim-plug====================== | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-fugitive' | |
Plug 'morhetz/gruvbox' | |
Plug 'git://git.wincent.com/command-t.git' | |
Plug 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Plug 'scrooloose/nerdtree' | |
Plug 'bling/vim-airline' | |
Plug 'tpope/vim-abolish' | |
Plug 'Lokaltog/vim-easymotion' | |
Plug 'ronakg/quickr-cscope.vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
call plug#end() | |
"============!vim-plug======================== | |
"============CoC setting====================== | |
" use <tab> for trigger completion and navigate to the next complete item | |
function! s:check_back_space() abort | |
let col = col('.') - 1 | |
return !col || getline('.')[col - 1] =~ '\s' | |
endfunction | |
inoremap <silent><expr> <Tab> | |
\ pumvisible() ? "\<C-n>" : | |
\ <SID>check_back_space() ? "\<Tab>" : | |
\ coc#refresh() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment