From b32a775ce1835b4a3910c36b088f75c62d480e58 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 8 Dec 2025 20:40:41 +0000 Subject: Add cshader vfor bg --- config/vim/vimrc | 114 +++++++++++++++++++++++++++---------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'config/vim') diff --git a/config/vim/vimrc b/config/vim/vimrc index 74515ba..f8258d1 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -53,63 +53,63 @@ Plug 'preservim/vim-markdown' "let g:vim_markdown_json_frontmatter = 1 -"Plug 'neoclide/coc.nvim' -"hi CocInlayHint ctermbg=Black ctermfg=Gray -" -"set updatetime=300 -"set signcolumn=yes -" -"nmap [g (coc-diagnostic-prev) -"nmap ]g (coc-diagnostic-next) -" -"nmap gd (coc-definition) -"nmap gy (coc-type-definition) -"nmap gi (coc-implementation) -"nmap gr (coc-references) -" -"xmap f (coc-format-selected) -"nmap f (coc-format-selected) -" -"nmap rn (coc-rename) -"nmap re (coc-codeaction-refactor) -"xmap r (coc-codeaction-refactor-selected) -"" nmap r (coc-codeaction-refactor-selected) -" -"inoremap -" \ coc#pum#visible() ? coc#pum#next(1) : -" \ CheckBackspace() ? "\" : -" \ coc#refresh() -"inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" -" -"inoremap coc#pum#visible() ? coc#pum#confirm() -" \: "\u\\=coc#on_enter()\" -" -"function! CheckBackspace() abort -" let col = col('.') - 1 -" return !col || getline('.')[col - 1] =~# '\s' -"endfunction -" -" -"if has('nvim') -" inoremap coc#refresh() -"else -" inoremap coc#refresh() -"endif -" -"xmap a (coc-codeaction-selected) -"nmap a (coc-codeaction-selected) -" -"" autocmd CursorHold * silent call CocActionAsync('highlight') -" -"function! ShowDocumentation() -" if CocAction('hasProvider', 'hover') -" call CocActionAsync('doHover') -" else -" call feedkeys('K', 'in') -" endif -"endfunction -" -"autocmd FileType python let b:coc_root_patterns = ['.git', '.env', '.'] +Plug 'neoclide/coc.nvim' +hi CocInlayHint ctermbg=Black ctermfg=Gray + +set updatetime=300 +set signcolumn=yes + +nmap [g (coc-diagnostic-prev) +nmap ]g (coc-diagnostic-next) + +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +xmap f (coc-format-selected) +nmap f (coc-format-selected) + +nmap rn (coc-rename) +nmap re (coc-codeaction-refactor) +xmap r (coc-codeaction-refactor-selected) +" nmap r (coc-codeaction-refactor-selected) + +inoremap + \ coc#pum#visible() ? coc#pum#next(1) : + \ CheckBackspace() ? "\" : + \ coc#refresh() +inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" + +inoremap coc#pum#visible() ? coc#pum#confirm() + \: "\u\\=coc#on_enter()\" + +function! CheckBackspace() abort + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~# '\s' +endfunction + + +if has('nvim') + inoremap coc#refresh() +else + inoremap coc#refresh() +endif + +xmap a (coc-codeaction-selected) +nmap a (coc-codeaction-selected) + +" autocmd CursorHold * silent call CocActionAsync('highlight') + +function! ShowDocumentation() + if CocAction('hasProvider', 'hover') + call CocActionAsync('doHover') + else + call feedkeys('K', 'in') + endif +endfunction + +autocmd FileType python let b:coc_root_patterns = ['.git', '.env', '.'] Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' -- cgit v1.2.3