From 955ceb2f61b05fe553dcda7b4dda8bac72abe92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=BCdecke=20Sascha?= Date: Fri, 7 Aug 2026 09:13:41 +0200 Subject: [PATCH] TODO template current date moved into todo line --- lua/lsp.lua | 2 +- lua/plugins.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lsp.lua b/lua/lsp.lua index 7efe505..e4a1e3e 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -19,7 +19,7 @@ vim.api.nvim_create_autocmd('LspAttach', { vim.keymap.set("n", 'F', ":silent !dx fmt --file %", { desc = "DX format rsx! regions", unpack(bufopts) }) vim.keymap.set("v", "f", LSPRangeFormatFunction, { desc = "LSP Format region" }) - -- 2024-09-09 - some slaptop commands for diagnostics, symbols and code actions + -- 2024-09-09 - some commands for diagnostics, symbols and code actions local fzf = require('fzf-lua') vim.keymap.set('n', 'd', fzf.diagnostics_document, { desc = "Document diagnostics" }) vim.keymap.set('n', 'D', fzf.diagnostics_workspace, { desc = "Workspace diagnostics" }) diff --git a/lua/plugins.lua b/lua/plugins.lua index 9db6385..c95daad 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -209,7 +209,7 @@ require("lazy").setup({ 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" }, + t = { description = 'Task', template = "* TODO %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)' },