Update some neovim keybinds
diff --git a/modules/neovim/coc/keybinds.vim b/modules/neovim/coc/keybinds.vim
index d45dce5..a97d6b7 100644
--- a/modules/neovim/coc/keybinds.vim
+++ b/modules/neovim/coc/keybinds.vim
@@ -6,9 +6,9 @@
nmap <silent> <Leader>fc <Plug>(coc-codeaction-cursor)
nmap <silent> <Leader>fr <Plug>(coc-rename)
nmap <silent> <Leader>fi <Plug>(coc-fix-current)
-nmap <silent> <Leader>gd <Plug>(coc-definition)
+nmap <silent> <Leader>gd <Plug>(coc-definition)zz
nmap <silent> <Leader>gt <Plug>(coc-type-definition)
-nmap <silent> <Leader>gi <Plug>(coc-implementation)
+nmap <silent> <Leader>gi <Plug>(coc-implementation)zz
nmap <silent> <Leader>gr <Plug>(coc-references)
nmap <Leader>fe <Cmd>CocCommand explorer<CR>
@@ -16,16 +16,20 @@
let g:UltiSnipsJumpForwardTrigger="<NUL>"
let g:UltiSnipsJumpBackwardTrigger="<NUL>"
-inoremap <silent><expr> <CR> coc#pum#visible() ? "\<C-g>u" . coc#pum#confirm() :
+inoremap <silent><expr> <CR> coc#pum#visible() ? "\<C-G>u" . coc#pum#confirm() :
\ coc#jumpable() ? "\<Esc>:call coc#snippet#next()\<CR>" :
\ tablemode#table#IsTable('.') && !(tablemode#spreadsheet#GetLastRow(".") == line('.')) && !(tablemode#spreadsheet#GetLastRow(".") == 0) ? "\<Esc>:call tablemode#spreadsheet#cell#Motion('j')\<CR>:call tablemode#spreadsheet#MoveToStartOfCell()\<CR>" . mode() :
\ tablemode#table#IsTable('.') ? "<Esc>$a<CR>" :
- \ "\<Plug>(PearTreeExpand)"
+ \ "\<C-G>u\<Plug>(PearTreeExpand)"
inoremap <silent><expr> <S-CR> tablemode#table#IsTable('.') ? "\<Esc>:call tablemode#spreadsheet#cell#Motion('k')\<CR>:call tablemode#spreadsheet#MoveToStartOfCell()\<CR>" . mode() : "\<S-CR>"
-inoremap <silent><expr> <Tab> coc#pum#visible() ? coc#pum#next(0) :
- \ coc#expandableOrJumpable() ? "\<C-g>u\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
+let g:codeium_no_map_tab = 1
+let g:codeium_tab_fallback = ""
+inoremap <silent><expr> <Tab>
+ \ coc#pum#visible() ? coc#pum#next(0) :
+ \ coc#expandableOrJumpable() ? "\<C-G>u\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
+ \ codeium#Accept() != "" ? "\<C-G>u" . codeium#Accept() :
\ pear_tree#GetSurroundingPair() != [] ? pear_tree#insert_mode#JumpOut() :
\ tablemode#table#IsTable('.') ? "\<Esc>:call tablemode#spreadsheet#cell#Motion('l')\<CR>" . mode() :
\ CheckBackSpace() ? "\<TAB>" : coc#refresh()
@@ -44,7 +48,7 @@
nnoremap <silent><expr> <CR> coc#jumpable() ?
\ ":call coc#snippet#next()\<CR>" :
\ tablemode#table#IsTable('.') ? "\<Esc>:call tablemode#spreadsheet#cell#Motion('j')\<CR>:call tablemode#spreadsheet#MoveToStartOfCell()\<CR>" :
- \ "\<CR>"
+ \ "\<C-G>u\<CR>"
nnoremap <silent><expr> <S-CR> tablemode#table#IsTable('.') ? "\<Esc>:call tablemode#spreadsheet#cell#Motion('k')\<CR>:call tablemode#spreadsheet#MoveToStartOfCell()\<CR>" : "\<S-CR>"
@@ -61,7 +65,7 @@
snoremap <silent><expr> <CR> coc#jumpable() ?
\ "\<Esc>:call coc#snippet#next()\<CR>" :
- \ "\<CR>"
+ \ "\<C-G>u\<CR>"
snoremap <silent><expr> <Tab> coc#jumpable() ?
\ "\<Esc>:call coc#snippet#next()\<CR>" :