diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 1791f7e..9c167c1 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -32,7 +32,6 @@ M.options = { copy_del = true, -- copy deleted text ( dd key ), visual and normal mode insert_nav = true, -- navigation in insertmode window_nav = true, - theme_toggler = false, -- updater update_url = "https://github.com/NvChad/NvChad", @@ -46,11 +45,6 @@ M.ui = { hl_override = "", -- path of your file that contains highlights italic_comments = false, theme = "onedark", -- default theme - -- toggle between two themes, see theme_toggler mappings - theme_toggler = { - "onedark", - "gruvchad", - }, -- Change terminal bg to nvim theme's bg color so it'll match well -- For Ex : if you have onedark set in nvchad, set onedark's bg color on your terminal @@ -124,7 +118,6 @@ M.mappings = { new_buffer = "", new_tab = "b", save_file = "", -- save file using :w - theme_toggler = "tt", -- see in ui.theme_toggler }, -- navigation in insert mode, only if enabled in options diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 9e5f84a..2019ff5 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -68,15 +68,6 @@ M.misc = function() map("n", wnav.moveUp, "k") map("n", wnav.moveDown, "j") end - - -- check the theme toggler - if nvChad_options.theme_toggler then - map( - "n", - maps.misc.theme_toggler, - ":lua require('nvchad').toggle_theme(require('core.utils').load_config().ui.theme_toggler) " - ) - end end local function required_mappings()