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
|
||||
-- All the info you're looking for is in `:help telescope.setup()`
|
||||
--
|
||||
-- defaults = {
|
||||
-- mappings = {
|
||||
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
|
||||
-- },
|
||||
-- },
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
['<C-w>'] = require('telescope.actions').delete_buffer,
|
||||
},
|
||||
n = {
|
||||
['<C-w>'] = require('telescope.actions').delete_buffer,
|
||||
},
|
||||
},
|
||||
},
|
||||
pickers = {
|
||||
colorscheme = { enable_preview = true },
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue