Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit b154963

Browse files
jlawNTBBloodbath
andauthored
fix: Update <leader>dc to match new config setup (#102)
Co-authored-by: Alejandro <bloodbathalchemist@protonmail.com>
1 parent d868569 commit b154963

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

lua/doom/core/keybindings/init.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ utils.map('n', '<leader>bf', '<cmd>FormatWrite<CR>', opts)
257257
utils.map(
258258
'n',
259259
'<leader>dc',
260-
'<cmd>e ' .. utils.doom_root .. '/doom_config.lua<CR>',
260+
'<cmd>args'
261+
.. ' ' .. utils.doom_root .. '/doomrc.lua'
262+
.. ' ' .. utils.doom_root .. '/doom_config.lua'
263+
.. ' ' .. utils.doom_root .. '/plugins.lua'
264+
.. ' | tab all<CR>',
261265
opts
262266
)
263267
utils.map('n', '<leader>dd', '<cmd>help doom_nvim<CR>', opts)

lua/doom/modules/config/doom-dashboard.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ return function()
2828
},
2929
f = {
3030
description = { ' Open Private Configuration SPC d c' },
31-
command = ':e ' .. require('doom.utils').doom_root .. '/doomrc',
31+
command = ':args'
32+
.. ' ' .. require('doom.utils').doom_root .. '/doomrc.lua'
33+
.. ' ' .. require('doom.utils').doom_root .. '/doom_config.lua'
34+
.. ' ' .. require('doom.utils').doom_root .. '/plugins.lua'
35+
.. ' | tab all',
3236
},
3337
g = {
3438
description = { ' Open Documentation SPC d d' },

0 commit comments

Comments
 (0)