diff --git a/lua/keymap/tool.lua b/lua/keymap/tool.lua index 0f5a8fa29..7a8cd42e5 100644 --- a/lua/keymap/tool.lua +++ b/lua/keymap/tool.lua @@ -116,7 +116,9 @@ local plug_map = { :with_desc("find: Word in project"), ["n|fe"] = map_cu("Telescope oldfiles"):with_noremap():with_silent():with_desc("find: File by history"), ["n|ff"] = map_cu("Telescope find_files"):with_noremap():with_silent():with_desc("find: File in project"), - ["n|fc"] = map_cu("Telescope colorscheme") + ["n|fc"] = map_callback(function() + require("telescope.builtin").colorscheme({ enable_preview = true }) + end) :with_noremap() :with_silent() :with_desc("ui: Change colorscheme for current session"),