feat(telescope): add default bindings for closing and
selecting
This commit is contained in:
@@ -6,6 +6,15 @@ local function setup()
|
||||
local actions = require("telescope.actions")
|
||||
|
||||
telescope.setup({
|
||||
defaults = {
|
||||
mappings = {
|
||||
n = {
|
||||
q = actions.close,
|
||||
["<C-c>"] = actions.close,
|
||||
l = actions.select_default,
|
||||
},
|
||||
},
|
||||
},
|
||||
pickers = {
|
||||
oldfiles = {
|
||||
initial_mode = "normal",
|
||||
|
||||
Reference in New Issue
Block a user