diff --git a/lua/conf/keybinds.lua b/lua/conf/keybinds.lua index 91392a1..359ef30 100644 --- a/lua/conf/keybinds.lua +++ b/lua/conf/keybinds.lua @@ -30,24 +30,6 @@ vim.api.nvim_set_keymap('n', 'r', 'lua NumberToggle()', keymap_ vim.api.nvim_set_keymap('n', '', ':noh', keymap_opts) -- Autocomplete bindings -vim.keymap.set('i', '', function() - if vim.fn.pumvisible() == 1 then return '' end - return '' -end, {expr = true}) - -vim.keymap.set('i', '', function() - if vim.fn.pumvisible() == 1 then return '' end - return '' -end, {expr = true}) - -vim.keymap.set('i', '', function() - if vim.fn.pumvisible() == 1 then - vim.cmd [[ asyncomplete#close_popup() . "\" ]] - else - return '' - end -end, {expr = true}) - -- This one maps F5 to delete all trailing whitespace vim.api.nvim_set_keymap( 'n',