File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,20 @@ vim.g.maplocalleader = ' '
93
93
-- Set to true if you have a Nerd Font installed and selected in the terminal
94
94
vim .g .have_nerd_font = false
95
95
96
+ -- To disable the default Telescope plugin and replace it with
97
+ -- another picker (like snacks), set this flag to true
98
+ -- By default, Telescope is included and acts as your picker for everything.
99
+
100
+ -- If you want to replace Telescope with another picker:
101
+ -- 1. Set `vim.g.disable_telescope = true`
102
+ -- 2. Enable your replacement picker by requiring it explicitly (e.g., 'kickstart.plugins.snacks').
103
+
104
+ -- Note: When you customize your config for yourself,
105
+ -- it’s best to remove the Telescope plugin config entirely
106
+ -- instead of just disabling it here, to keep your config clean.
107
+
108
+ vim .g .disable_telescope = false -- set to true to disable Telescope
109
+
96
110
-- [[ Setting options ]]
97
111
-- See `:help vim.o`
98
112
-- NOTE: You can change these options as you wish!
@@ -360,6 +374,7 @@ require('lazy').setup({
360
374
361
375
{ -- Fuzzy Finder (files, lsp, etc)
362
376
' nvim-telescope/telescope.nvim' ,
377
+ enabled = not vim .g .disable_telescope ,
363
378
event = ' VimEnter' ,
364
379
dependencies = {
365
380
' nvim-lua/plenary.nvim' ,
You can’t perform that action at this time.
0 commit comments