refactor(nvim): include leading key desc for which key
This commit is contained in:
parent
d51b03b8bf
commit
a50439f8db
@ -21,9 +21,10 @@ return {
|
||||
},
|
||||
ft = { "sql" },
|
||||
keys = {
|
||||
{ "<leader>aa", "<cmd>DBUIToggle<CR>", desc = "Dadbod: Toggle UI" },
|
||||
{ "<leader>a", desc = "Dadbod" },
|
||||
{ "<leader>aa", "<cmd>DBUIToggle<CR>", desc = "Dadbod: Toggle UI" },
|
||||
{ "<leader>ac", "<cmd>DBUIAddConnection<CR>", desc = "Dadbod: Add Connection" },
|
||||
{ "<leader>ab", "<cmd>DBUIFindBuffer<CR>", desc = "Dadbod: Find Buffer" },
|
||||
{ "<leader>ab", "<cmd>DBUIFindBuffer<CR>", desc = "Dadbod: Find Buffer" },
|
||||
},
|
||||
init = function()
|
||||
vim.g.db_ui_use_nerd_fonts = 1
|
||||
|
@ -2,6 +2,7 @@ return {
|
||||
{
|
||||
"sindrets/diffview.nvim",
|
||||
keys = {
|
||||
{ "<localleader>d", desc = "Diff View" },
|
||||
{ "<localleader>dd", "<cmd>DiffviewOpen<CR>", desc = "Diff View: Open" },
|
||||
{ "<localleader>dh", "<cmd>DiffviewFileHistory<CR>", desc = "Diff View: File History" },
|
||||
},
|
||||
|
@ -10,6 +10,7 @@ return {
|
||||
"nvim-neotest/neotest-plenary"
|
||||
},
|
||||
keys = {
|
||||
{ "<localleader>n", desc = "> Neotest" },
|
||||
{ "<localleader>nrr", "<cmd>Neotest run<CR>", desc = "Neotest: Run Test" },
|
||||
{ "<localleader>nrl", "<cmd>Neotest run file<CR>", desc = "Neotest: Run Tests in File" },
|
||||
{ "<localleader>nrl", "<cmd>Neotest run last<CR>", desc = "Neotest: Run Last Tests" },
|
||||
@ -23,8 +24,8 @@ return {
|
||||
opts = function()
|
||||
return {
|
||||
diagnostic = {
|
||||
enable = true,
|
||||
severity = 1
|
||||
enable = true,
|
||||
severity = 1
|
||||
},
|
||||
discovery = {
|
||||
concurrent = 4
|
||||
|
@ -13,7 +13,7 @@ return {
|
||||
"NoNeckPainToggleRightSide",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>bb", "<cmd>NoNeckPain<cr>", desc = "NoNeckPain: Toggle" },
|
||||
{ "<localleader>b", "<cmd>NoNeckPain<cr>", desc = "NoNeckPain: Toggle" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -36,12 +36,12 @@ return {
|
||||
"~/Git/College/**/*",
|
||||
"~/Notes/**/*",
|
||||
},
|
||||
notifications = {
|
||||
enabled = true,
|
||||
cron_enabled = true,
|
||||
repeater_reminder_time = { 2880, 1440, 720, 360, 180, 60, 30, 15, 10, 5, 0 },
|
||||
deadline_warning_reminder_time = { 2880, 1440, 720, 360, 180, 60, 30, 15, 10, 5, 0 }
|
||||
},
|
||||
-- notifications = {
|
||||
-- enabled = true,
|
||||
-- cron_enabled = true,
|
||||
-- repeater_reminder_time = { 2880, 1440, 720, 360, 180, 60, 30, 15, 10, 5, 0 },
|
||||
-- deadline_warning_reminder_time = { 2880, 1440, 720, 360, 180, 60, 30, 15, 10, 5, 0 }
|
||||
-- },
|
||||
org_id_link_to_org_use_id = true,
|
||||
org_default_notes_file = "~/Notes/notes.org",
|
||||
org_agenda_start_day = "-1d",
|
||||
@ -57,6 +57,11 @@ return {
|
||||
description = "Todo",
|
||||
template = "* TODO %?\n %u",
|
||||
},
|
||||
n = {
|
||||
description = "Note",
|
||||
template = "* %? :note:",
|
||||
target = "~/Notes/notes.org"
|
||||
},
|
||||
j = {
|
||||
description = "Journal",
|
||||
template = "\n* %? %U :journal:",
|
||||
|
@ -3,6 +3,7 @@ return {
|
||||
"dhruvasagar/vim-table-mode",
|
||||
keys = {
|
||||
{ ";;", "<cmd>TableModeRealign<CR>", desc = "Table Mode: Realign" },
|
||||
{ ";t", desc = "> Table Mode" },
|
||||
},
|
||||
lazy = false,
|
||||
init = function()
|
||||
|
Loading…
Reference in New Issue
Block a user