minor changes
This commit is contained in:
parent
f50b4a3071
commit
113f3b2ce4
22
init.lua
22
init.lua
|
@ -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'] = {
|
||||
|
|
Loading…
Reference in New Issue