Vim org stuff

master
Dustin Swan 3 years ago
parent 9444009c28
commit 94f2aacb56
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -36,6 +36,7 @@ lvim.plugins = {
require('orgmode').setup { require('orgmode').setup {
org_agenda_files = {'~/Sync/Notes/*'}, org_agenda_files = {'~/Sync/Notes/*'},
org_default_notes_file = '~/Sync/Notes/Main.org', org_default_notes_file = '~/Sync/Notes/Main.org',
org_log_done = false,
-- org_todo_keywords = {'TODO', 'WAIT', '|', 'DONE'}, -- org_todo_keywords = {'TODO', 'WAIT', '|', 'DONE'},
} }
-- vim.opt.conceallevel = 1 -- vim.opt.conceallevel = 1
@ -81,6 +82,7 @@ lvim.plugins = {
-- auto_dark_mode.init() -- auto_dark_mode.init()
-- end -- end
-- }, -- },
{ "jamessan/vim-gnupg" },
} }
lvim.builtin.which_key.mappings["t"] = { lvim.builtin.which_key.mappings["t"] = {
@ -92,6 +94,12 @@ lvim.builtin.which_key.mappings["t"] = {
l = { "<cmd>TroubleToggle loclist<cr>", "loclist" }, l = { "<cmd>TroubleToggle loclist<cr>", "loclist" },
r = { "<cmd>TroubleToggle lsp_references<cr>", "references" }, r = { "<cmd>TroubleToggle lsp_references<cr>", "references" },
} }
lvim.builtin.which_key.mappings["T"] = {
name = "Table Mode",
t = { "<cmd>:TableModeToggle<cr>", "Toggle enable" },
e = { "<cmd>:TableEvalFormulaLine<cr>", "Eval formula line" },
T = { "<cmd>:TableModeRealign<cr>", "Realign" },
}
lvim.builtin.which_key.mappings["m"] = { "<cmd>MinimapToggle<cr>", "Toggle Minimap" } lvim.builtin.which_key.mappings["m"] = { "<cmd>MinimapToggle<cr>", "Toggle Minimap" }
lvim.builtin.which_key.mappings["B"] = { "<cmd>BlamerShow<cr>", "Show Blamer" } lvim.builtin.which_key.mappings["B"] = { "<cmd>BlamerShow<cr>", "Show Blamer" }

Loading…
Cancel
Save