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")
|
local actions = require("telescope.actions")
|
||||||
|
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
|
defaults = {
|
||||||
|
mappings = {
|
||||||
|
n = {
|
||||||
|
q = actions.close,
|
||||||
|
["<C-c>"] = actions.close,
|
||||||
|
l = actions.select_default,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
pickers = {
|
pickers = {
|
||||||
oldfiles = {
|
oldfiles = {
|
||||||
initial_mode = "normal",
|
initial_mode = "normal",
|
||||||
|
|||||||
Reference in New Issue
Block a user