From c68404f12210dfa4171a9b9ed1d19871352a4931 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 12 Jun 2026 11:05:32 +0530 Subject: Add gitu blame key + update formatter --- autoload/orgmode.kak | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'autoload/orgmode.kak') diff --git a/autoload/orgmode.kak b/autoload/orgmode.kak index b6ad623..8705018 100644 --- a/autoload/orgmode.kak +++ b/autoload/orgmode.kak @@ -3,6 +3,8 @@ hook global BufSetOption filetype=org %{ map buffer normal ': orgmode-jump-link' -docstring 'Jump to link' map buffer user o ': enter-user-mode org' -docstring 'Org mode' map buffer org ': orgmode-toggle' -docstring 'Toggle checkbox/task' + map buffer org t ': orgmode-new-task' -docstring 'New task item' + map buffer org T ': orgmode-new-todo' -docstring 'New todo item' } def orgmode-toggle %{ @@ -30,6 +32,10 @@ def orgmode-jump-link %{ } } } +def orgmode-new-task %{ execute-keys 'o- [ ] ' } + +def orgmode-new-todo %{ execute-keys 'o** TODO ' } + def orgmode-toggle-checkbox %{ evaluate-commands %{ execute-keys ',xs^(\h*-\h+)\[([Xx\- ])\]' -- cgit v1.3.1