File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,9 @@ vim.opt.splitbelow = true
152152vim .opt .list = true
153153vim .opt .listchars = { tab = ' » ' , trail = ' ·' , nbsp = ' ␣' }
154154
155+ vim .opt .shell = ' zsh'
156+ vim .opt .shellcmdflag = ' -ic'
157+
155158-- Preview substitutions live, as you type!
156159vim .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' ] = {
You can’t perform that action at this time.
0 commit comments