From 2af84863af26f7863f7af16efe013255065b4503 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Sat, 15 Jul 2023 00:48:21 -0700 Subject: [PATCH] More unused keybinds. --- lua/conf/keybinds.lua | 18 ------------------ 1 file changed, 18 deletions(-) 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',