Micron Document
finally a less distracting cmp

I was getting frustrated with T383838nvim-cmp as the default setup for it in NvChad is to annoyingly pop crap up all the time as I type. I was hoping to set it to only do it when the tab key is pressed or something, but I'm going to settle for \*Control+Backslash

I'm sure there's a way to do this from the T383838init.lua instead of editing NvChad core stuff, but I'm still new to it and this is how I accomplished it.

I edited T383838.config/nvim/lua/plugins/config/cmp.lua and added T383838autocomplete=false, in the T383838options block, so the top of that block now looks like this:

T282828
Tff7b72local Te6edf3options Tff7b72= Tb4b4b4{
Te6edf3completion Tff7b72= Tb4b4b4{
Te6edf3completeopt Tff7b72= Ta5d6ff"Ta5d6ffmenu,menuoneTa5d6ff"Tb4b4b4,
Te6edf3autocomplete Tff7b72= Tff7b72falseTb4b4b4, T8b949e-- < -- this is the important line
Tb4b4b4},
T8b949e-- and more default stuff after that...
Tb4b4b4}


Then I found the mapping for Control+Space and changed it to Control+Backslash because Control+Space is how I trigger the IME.

T282828
Te6edf3mapping Tff7b72= Tb4b4b4{
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-p>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffselect_prev_itemTb4b4b4(),
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-n>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffselect_next_itemTb4b4b4(),
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-d>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffscroll_docsTb4b4b4(Tff7b72-T79c0ff4Tb4b4b4),
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-f>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffscroll_docsTb4b4b4(T79c0ff4Tb4b4b4),
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-Tffea00\\Ta5d6ff>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffcompleteTb4b4b4(), T8b949e-- <-- it's this one
Tb4b4b4[Ta5d6ff"Ta5d6ff<C-e>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Td2a8ffcloseTb4b4b4(),
Tb4b4b4[Ta5d6ff"Ta5d6ff<CR>Ta5d6ff"Tb4b4b4] Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3mappingTb4b4b4.Te6edf3confirm Tb4b4b4{
Te6edf3behavior Tff7b72= Te6edf3cmpTb4b4b4.Te6edf3ConfirmBehaviorTb4b4b4.Te6edf3InsertTb4b4b4,
Tffa657select Tff7b72= Tff7b72trueTb4b4b4,
Tb4b4b4},
T8b949e-- and more default stuff after that...
Tb4b4b4}


Tags: index, nvim, cli

Tags
Navigation
Backlinks


created: 2023-09-30

(re)generated: 2026-07-17