diff --git a/home/.config/nvim/lua/keybinds.lua b/home/.config/nvim/lua/keybinds.lua index 72681694..25234f6c 100644 --- a/home/.config/nvim/lua/keybinds.lua +++ b/home/.config/nvim/lua/keybinds.lua @@ -12,8 +12,11 @@ map('n', '', 'Files') map('n', '', 'Rg') -- Completion +-- Navigate completions with tab and shift tab map('i', '', 'pumvisible() ? "\\" : "\\"', {expr = true}) map('i', '', 'pumvisible() ? "\\" : "\\"', {expr = true}) +-- Trigger completion +map('i', '', '(completion_trigger)', {silent = true, expr = true}) -- Navigate between buffers map('n', '', ':bn', {silent = true})