Add telescope mapping to delete buffers
This commit is contained in:
parent
c744184104
commit
75f37c95d3
15
init.lua
15
init.lua
|
|
@ -438,11 +438,16 @@ require('lazy').setup({
|
||||||
-- You can put your default mappings / updates / etc. in here
|
-- You can put your default mappings / updates / etc. in here
|
||||||
-- All the info you're looking for is in `:help telescope.setup()`
|
-- All the info you're looking for is in `:help telescope.setup()`
|
||||||
--
|
--
|
||||||
-- defaults = {
|
defaults = {
|
||||||
-- mappings = {
|
mappings = {
|
||||||
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
i = {
|
||||||
-- },
|
['<C-w>'] = require('telescope.actions').delete_buffer,
|
||||||
-- },
|
},
|
||||||
|
n = {
|
||||||
|
['<C-w>'] = require('telescope.actions').delete_buffer,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
pickers = {
|
pickers = {
|
||||||
colorscheme = { enable_preview = true },
|
colorscheme = { enable_preview = true },
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue