mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-30 15:44:37 +02:00
Fix dashboard which key still appears when dashboard disabled (#923)
* Fix dashboard which key still appears when dashboard disabled * Prevent override user_which_key
This commit is contained in:
parent
3dfb4184b7
commit
64045a40df
2 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,8 @@ M.setup = function()
|
||||||
|
|
||||||
vim.g.dashboard_custom_section = O.plugin.dashboard.custom_section
|
vim.g.dashboard_custom_section = O.plugin.dashboard.custom_section
|
||||||
|
|
||||||
|
O.plugin.which_key.mappings[";"] = { "<cmd>Dashboard<CR>", "Dashboard" }
|
||||||
|
|
||||||
-- f = {
|
-- f = {
|
||||||
-- description = { " Neovim Config Files" },
|
-- description = { " Neovim Config Files" },
|
||||||
-- command = "Telescope find_files cwd=" .. CONFIG_PATH,
|
-- command = "Telescope find_files cwd=" .. CONFIG_PATH,
|
||||||
|
|
|
@ -68,7 +68,6 @@ M.config = function()
|
||||||
["e"] = { "<cmd>lua require'core.nvimtree'.toggle_tree()<CR>", "Explorer" },
|
["e"] = { "<cmd>lua require'core.nvimtree'.toggle_tree()<CR>", "Explorer" },
|
||||||
["f"] = { "<cmd>Telescope find_files<CR>", "Find File" },
|
["f"] = { "<cmd>Telescope find_files<CR>", "Find File" },
|
||||||
["h"] = { '<cmd>let @/=""<CR>', "No Highlight" },
|
["h"] = { '<cmd>let @/=""<CR>', "No Highlight" },
|
||||||
[";"] = { "<cmd>Dashboard<CR>", "Dashboard" },
|
|
||||||
p = {
|
p = {
|
||||||
name = "Packer",
|
name = "Packer",
|
||||||
c = { "<cmd>PackerCompile<cr>", "Compile" },
|
c = { "<cmd>PackerCompile<cr>", "Compile" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue