Skip to content

Commit 113f3b2

Browse files
author
0xfa1z
committed
minor changes
1 parent f50b4a3 commit 113f3b2

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

init.lua

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ vim.opt.splitbelow = true
152152
vim.opt.list = true
153153
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
154154

155+
vim.opt.shell = 'zsh'
156+
vim.opt.shellcmdflag = '-ic'
157+
155158
-- Preview substitutions live, as you type!
156159
vim.opt.inccommand = 'split'
157160

@@ -283,6 +286,9 @@ require('lazy').setup({
283286
filters = {
284287
dotfiles = false,
285288
},
289+
git = {
290+
ignore = false,
291+
},
286292
}
287293
end,
288294
}, -- File explorer
@@ -439,11 +445,17 @@ require('lazy').setup({
439445
-- You can put your default mappings / updates / etc. in here
440446
-- All the info you're looking for is in `:help telescope.setup()`
441447
--
442-
-- defaults = {
443-
-- mappings = {
444-
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
445-
-- },
446-
-- },
448+
defaults = {
449+
mappings = {
450+
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' },
451+
i = {
452+
['<C-d>'] = require('telescope.actions').delete_buffer, -- Set Ctrl + d to close buffer in insert mode
453+
},
454+
n = {
455+
['<C-d>'] = require('telescope.actions').delete_buffer, -- Set Ctrl + d to close buffer in normal mode
456+
},
457+
},
458+
},
447459
-- pickers = {}
448460
extensions = {
449461
['ui-select'] = {

0 commit comments

Comments
 (0)