minor changes

This commit is contained in:
0xfa1z 2024-10-03 21:15:46 +02:00
parent f50b4a3071
commit 113f3b2ce4
1 changed files with 17 additions and 5 deletions

View File

@ -152,6 +152,9 @@ vim.opt.splitbelow = true
vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
vim.opt.shell = 'zsh'
vim.opt.shellcmdflag = '-ic'
-- Preview substitutions live, as you type!
vim.opt.inccommand = 'split'
@ -283,6 +286,9 @@ require('lazy').setup({
filters = {
dotfiles = false,
},
git = {
ignore = false,
},
}
end,
}, -- File explorer
@ -439,11 +445,17 @@ 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-enter>'] = 'to_fuzzy_refine' },
i = {
['<C-d>'] = require('telescope.actions').delete_buffer, -- Set Ctrl + d to close buffer in insert mode
},
n = {
['<C-d>'] = require('telescope.actions').delete_buffer, -- Set Ctrl + d to close buffer in normal mode
},
},
},
-- pickers = {}
extensions = {
['ui-select'] = {