Comments (4)
I don't have a solution for your second or third points, but you can add more bindings for codeium-*
using the following snippet:
imap <C-d> <Plug>(codeium-dismiss)
imap <M-<> <Plug>(codeium-previous)
imap <M->> <Plug>(codeium-next)
Just replace the <C-d>|<M-<>|<M->>
with whatever you want that binding to be. (Note: I am using vim-plug, this may differ for other plugin managers.)
from codeium.vim.
provide the respective commands for codeium-dismiss, codeium-next and codeium-previous?
Looks like it's already there, just that README needs update,
codeium#Clear
codeium#CycleCompletions(1)
codeium#CycleCompletions(-1)
vim.keymap.set('i', '<C-l>', function()
return vim.fn['codeium#Accept']()
end, { expr = true })
disable auto completion (per configuration), i.e. only show suggestions when a user triggers codeium-next/codeium-previous?
disable the default keymaps (per configuration)?
In addition to this, I would like to have ability to accept suggestions incrementally. May be something like we have in terminal, one "^[F" forward-word
at a time.
Edit:
In addition to this, I would like to have ability to accept suggestions incrementally. May be something like we have in terminal, one
"^[F" forward-word
at a time.
There is already an open issue for this.
from codeium.vim.
Thank you @AnthonyUtt and @ragu-manjegowda , I can confirm
vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](1) end, { expr = true })
vim.keymap.set('i', '<c-,>', function() return vim.fn['codeium#CycleCompletions'](-1) end, { expr = true })
vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true })
vim.keymap.set('i', '<c-cr>', function() return vim.fn['codeium#Accept']() end, { expr = true })
works! (Even though cycling often gives the same result, making it effectively a no-op.)
from codeium.vim.
disable the default keymaps (per configuration)?
This is very important to me; I have a heavily overloaded tab key and having codeium clobber it is a dealbreaker- I'm working on updating my configuration so codeium plays a little nicer with everything else but until then I'll have to keep it disabled (#13 would also solve this)
from codeium.vim.
Related Issues (20)
- Disabled by default, but respecting BufferEnable? HOT 3
- Ghost Suggestion Disable HOT 5
- Typo "getProjectRoot" preventing chat from getting project path HOT 1
- Let us configure the chat browser
- AppleSilicon does not pass is_arm check due to error in server.vim HOT 1
- Vim breaks after installing plugin
- I can't add an API key HOT 1
- Feature Request: code refactor HOT 1
- codeium#Chat does not work at the first time we call it HOT 3
- Language Server Not Valid exe on Windows HOT 1
- Does it support manual setting of automatic trigger time?
- custom keymap not being register
- Next suggestion key binding not working
- When open telescope will cause un-terminated curl request to codeium language server
- Calling GetStatusString causes new files to opened in INSERT mode instead of NORMAL HOT 3
- No suggestions when using 1.6.39 HOT 6
- Codeium Server Crashed
- Multiple issues with Codeium in Sublime Text HOT 2
- codeium auth doesn't work over ssh
- auto-completion of codeium doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeium.vim.