@@ -96,20 +96,44 @@ local set_mappings = function(M, augroup, options)
9696 end
9797
9898 local names_interactions = {
99- toggle_checkbox = function () M .toggle_checkbox (false ) end ,
100- toggle_checkbox_reverse = function () M .toggle_checkbox (true ) end ,
101- jump_to_next_task = function () M .jump_to_next_task (options .wrap_jumps , jump_between ) end ,
102- jump_to_previous_task = function () M .jump_to_previous_task (options .wrap_jumps , jump_between ) end ,
103- jump_to_next_headline = function () M .jump_to_next_headline (options .wrap_jumps ) end ,
104- jump_to_previous_headline = function () M .jump_to_previous_headline (options .wrap_jumps ) end ,
105- create_new_task_before = function () M .create_new_task (true ) end ,
106- create_new_task_after = function () M .create_new_task (false ) end ,
107- create_new_headline_before = function () M .create_new_headline (true ) end ,
108- create_new_headline_after = function () M .create_new_headline (false ) end ,
99+ toggle_checkbox = function ()
100+ M .toggle_checkbox (false )
101+ end ,
102+ toggle_checkbox_reverse = function ()
103+ M .toggle_checkbox (true )
104+ end ,
105+ jump_to_next_task = function ()
106+ M .jump_to_next_task (options .wrap_jumps , jump_between )
107+ end ,
108+ jump_to_previous_task = function ()
109+ M .jump_to_previous_task (options .wrap_jumps , jump_between )
110+ end ,
111+ jump_to_next_headline = function ()
112+ M .jump_to_next_headline (options .wrap_jumps )
113+ end ,
114+ jump_to_previous_headline = function ()
115+ M .jump_to_previous_headline (options .wrap_jumps )
116+ end ,
117+ create_new_task_before = function ()
118+ M .create_new_task (true )
119+ end ,
120+ create_new_task_after = function ()
121+ M .create_new_task (false )
122+ end ,
123+ create_new_headline_before = function ()
124+ M .create_new_headline (true )
125+ end ,
126+ create_new_headline_after = function ()
127+ M .create_new_headline (false )
128+ end ,
109129 toggle_jumps = toggle_jumps ,
110130 delete_task = M .delete_task ,
111- filter_open_ongoing_tasks = function () M .filter_tasks ({ ' open_task' , ' ongoing_task' }) end ,
112- filter_checked_tasks = function () M .filter_tasks ({ ' checked_task' }) end ,
131+ filter_open_ongoing_tasks = function ()
132+ M .filter_tasks ({ ' open_task' , ' ongoing_task' })
133+ end ,
134+ filter_checked_tasks = function ()
135+ M .filter_tasks ({ ' checked_task' })
136+ end ,
113137 }
114138
115139 vim .api .nvim_create_autocmd (' FileType' , {
0 commit comments