-
| in nvim-cmp, i configure this to toggle the menu when needed,             ["<C-e>"] = cmp.mapping(function()
                if cmp.visible() then
                    cmp.abort()
                else
                    cmp.complete()
                end
            end, { "i", "c" }),
Is there any way to do this in blink? What I need now is a API to detect whether the menu is showed | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            XXiaoA
          
      
      
        Jul 18, 2025 
      
    
    Replies: 1 comment 3 replies
-
| now i tried ["<C-e>"] = { "show", "show_documentation", "hide", "hide_documentation" },the shortcoming of this way is that it will insert the text if a select a item | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
thanks, i works. another problem is that is keymap only work when the item has the documentation. I find a perfect keymap to meet my need. BTW the plugin is great, thx for ur work! 😄