diff --git a/src/.config/nvim/lua/init.lua b/src/.config/nvim/lua/init.lua index b6a9242..2b064bf 100644 --- a/src/.config/nvim/lua/init.lua +++ b/src/.config/nvim/lua/init.lua @@ -94,8 +94,8 @@ require('leap').opts.safe_labels = { "a", "s", "d", "f", "g", "h", "j", "k", "l" } require('leap').opts.labels = { "a", "s", "d", - "f", "k", "l", "h", "o", "d", "w", "e", "m", "b", - "u", "y", "v", "r", "g", "t", "c", "x", "/", "z", + "f", "k", "l", "h", "o", "d", "w", "e", "m", + "u", "v", "r", "g", "c", "x", "z", } local cmp = require'cmp' @@ -105,11 +105,8 @@ cmp.setup({ documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ - [''] = cmp.mapping.scroll_docs(-4), - [''] = cmp.mapping.scroll_docs(4), - [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), - [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' },