Prechádzať zdrojové kódy

nixpkgs/neovim: update cmp bindings for scrolling docs

Thomas Dy 4 mesiacov pred
rodič
commit
0402a8dc0d
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      .config/nixpkgs/neovim/plugins.lua

+ 2 - 2
.config/nixpkgs/neovim/plugins.lua

@@ -269,8 +269,8 @@ cmp.setup({
     end,
   },
   mapping = cmp.mapping.preset.insert({
-    ['<C-b>'] = cmp.mapping.scroll_docs(-4),
-    ['<C-f>'] = cmp.mapping.scroll_docs(4),
+    ['<C-u>'] = cmp.mapping.scroll_docs(-4),
+    ['<C-d>'] = cmp.mapping.scroll_docs(4),
     ['<C-Space>'] = cmp.mapping.complete(),
     ['<C-e>'] = cmp.mapping.abort(),
     ['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.