From 59ef37ded43a77a4c0f35be434f1ea72a407ce84 Mon Sep 17 00:00:00 2001 From: Simon Zeng Date: Sat, 24 Oct 2020 23:00:22 -0400 Subject: Add telescopes provider (#168) Amendment: replace the old `builtin` --- lua/telescope/builtin.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/telescope/builtin.lua') diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index 5e4a06f..7da08f8 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -523,6 +523,10 @@ builtin.builtin = function(opts) }, previewer = previewers.qflist.new(opts), sorter = conf.generic_sorter(opts), + attach_mappings = function(_, map) + map('i', '', actions.run_builtin) + return true + end }):find() end -- cgit v1.2.3