Use tab only for some specific telescope builtins
This commit is contained in:
parent
39bf1eddce
commit
1939683919
@ -1,13 +1,15 @@
|
||||
local actions = require('telescope.actions')
|
||||
require('telescope').setup{
|
||||
defaults = {
|
||||
mappings = {
|
||||
|
||||
local mappingTab = {
|
||||
i = {
|
||||
["<cr>"] = actions.select_tab,
|
||||
["<C-b>"] = actions.select_default,
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
local mappingDefault
|
||||
|
||||
require('telescope').setup{
|
||||
pickers = {
|
||||
-- Your special builtin config goes in here
|
||||
buffers = {
|
||||
@ -23,6 +25,15 @@ require('telescope').setup{
|
||||
["<c-w>"] = actions.delete_buffer,
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
find_files = {
|
||||
mappings = mappingTab
|
||||
},
|
||||
git_files = {
|
||||
mappings = mappingTab
|
||||
},
|
||||
lsp_dynamic_workspace_symbols = {
|
||||
mappings = mappingTab
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user