Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- " Plugin installation
- runtime plug.vim
- call plug#begin()
- Plug 'morhetz/gruvbox'
- Plug 'neoclide/coc.nvim', {'branch': 'release'}
- Plug 'preservim/nerdtree'
- Plug 'Xuyuanp/nerdtree-git-plugin'
- Plug 'tpope/vim-fugitive'
- Plug 'tpope/vim-commentary'
- call plug#end()
- " CoC configuration
- " def CheckBackspace(): bool
- " var col = col('.') - 1
- " return !col || getline('.')[col - 1] =~# '\s'
- " enddef
- " inoremap <silent><expr> <C-@>
- " \ coc#pum#visible() ? coc#pum#next(1) :
- " \ CheckBackspace() ? "\<C-@>" :
- " \ coc#refresh()
- " inoremap <expr> <cr> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
- " inoremap <expr> <C-N> coc#pum#visible() ? coc#pum#next(1) : ""
- " inoremap <expr> <C-P> coc#pum#visible() ? coc#pum#prev(1) : ""
- " inoremap <expr> <C-[> coc#pum#visible() ? coc#pum#close() : "\<ESC>"
- " coc-ansible
- " let g:coc_filetype_map = { 'yaml.ansible': 'ansible' }
- " Loading vim9 script
- runtime vim9rc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement