local wk_ok, which_key = pcall(require, "which-key") if wk_ok then which_key.setup({}) which_key.add({ { "g", group = "Git" }, { "x", group = "Trouble" }, { "v", group = "Debug" }, }) end local trouble_ok, trouble = pcall(require, "trouble") if trouble_ok then trouble.setup({}) end local oil_ok, oil = pcall(require, "oil") if oil_ok then oil.setup({ default_file_explorer = false, skip_confirm_for_simple_edits = true, view_options = { show_hidden = true, }, }) end