<leader>i to capture interruptions with template, todos to incoming.org
This commit is contained in:
@@ -44,6 +44,7 @@ vim.keymap.set('n', '<leader>of',
|
||||
end,
|
||||
{ desc = "Open org folder" })
|
||||
vim.keymap.set('n', '<leader>a', ':silent Org agenda t<cr>', { desc = "Org Agenda" })
|
||||
vim.keymap.set('n', '<leader>i', ':silent Org capture i<cr>', { desc = "Org Interruption" })
|
||||
|
||||
-- toggle colorscheme between dark and light
|
||||
vim.keymap.set('n', '<leader>m', function()
|
||||
|
||||
@@ -13,7 +13,7 @@ end
|
||||
sl_opt = {
|
||||
org_base_folder = ORG_BASE_FOLDER,
|
||||
org_agenda_files = ORG_BASE_FOLDER .. '/*.org',
|
||||
org_default_notes_file = ORG_BASE_FOLDER .. '/refile.org',
|
||||
org_default_notes_file = ORG_BASE_FOLDER .. '/incoming.org',
|
||||
org_archive_location = ORG_BASE_FOLDER .. '/archive.org',
|
||||
org_roam_folder = ORG_BASE_FOLDER .. '/roam',
|
||||
}
|
||||
|
||||
@@ -205,6 +205,10 @@ require("lazy").setup({
|
||||
org_agenda_files = sl_opt.org_agenda_files,
|
||||
org_default_notes_file = sl_opt.org_default_notes_file,
|
||||
org_archive_location = sl_opt.org_archive_location,
|
||||
org_capture_templates = {
|
||||
t = { description = 'Task', template = "* TODO %?\n %u"},
|
||||
i = { description = 'Interruption', template = "* STARTED [#A] %^{Working on}\n %U\n %a\n"},
|
||||
},
|
||||
org_todo_keywords = { 'TODO(t)', 'STARTED(s)', 'PLANNED(p)', '|', 'DONE(d)', 'UNPLANNED(u)' },
|
||||
org_custom_exports = {
|
||||
f = {
|
||||
|
||||
Reference in New Issue
Block a user