summaryrefslogtreecommitdiff
path: root/config/vim/vimrc
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-04 18:04:16 +0100
committerdavidovski <david@davidovski.xyz>2024-04-04 18:04:29 +0100
commit54c6b0a122cd9a59ed8be0d631ae1f97bab7f6b9 (patch)
tree88c6263c862ca7b8e56aa0c271cfa766dc85feb0 /config/vim/vimrc
parent51937c18e693e12b51b4a7f4a295bf79fefea8c4 (diff)
transparent st
Diffstat (limited to 'config/vim/vimrc')
-rw-r--r--config/vim/vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/vim/vimrc b/config/vim/vimrc
index 6a568a8..0e37dc3 100644
--- a/config/vim/vimrc
+++ b/config/vim/vimrc
@@ -71,13 +71,13 @@ nmap <silent> <leader>re <Plug>(coc-codeaction-refactor)
xmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
" nmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
-inoremap <silent><expr> <TAB>
- \ coc#pum#visible() ? coc#pum#next(1) :
- \ CheckBackspace() ? "\<Tab>" :
- \ coc#refresh()
-inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
+"inoremap <silent><expr> <TAB>
+" \ coc#pum#visible() ? coc#pum#next(1) :
+" \ CheckBackspace() ? "\<Tab>" :
+" \ coc#refresh()
+"inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
-inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
+"inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
function! CheckBackspace() abort