File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,9 @@ Increase the priority of a headline item.
611
611
#### ** org_agenda_priority_down**
612
612
* mapped to* : ` - ` <br />
613
613
Decrease the priority of a headline item.
614
+ #### ** org_agenda_archive**
615
+ mapped to: ` <Leader>o$ ` <br />
616
+ Archive headline item to archive location.
614
617
#### ** org_agenda_toggle_archive_tag**
615
618
* mapped to* : ` <Leader>oA ` <br />
616
619
Toggle "ARCHIVE" tag of a headline item.
Original file line number Diff line number Diff line change @@ -303,6 +303,13 @@ function Agenda:priority_down()
303
303
})
304
304
end
305
305
306
+ function Agenda :archive ()
307
+ return self :_remote_edit ({
308
+ action = ' org_mappings.archive' ,
309
+ redo = true ,
310
+ })
311
+ end
312
+
306
313
function Agenda :toggle_archive_tag ()
307
314
return self :_remote_edit ({
308
315
action = ' org_mappings.toggle_archive_tag' ,
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ return {
79
79
org_agenda_priority = ' <prefix>,' ,
80
80
org_agenda_priority_up = ' +' ,
81
81
org_agenda_priority_down = ' -' ,
82
+ org_agenda_archive = ' <prefix>$' ,
82
83
org_agenda_toggle_archive_tag = ' <prefix>A' ,
83
84
org_agenda_set_tags = ' <prefix>t' ,
84
85
org_agenda_deadline = ' <prefix>id' ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ return {
31
31
org_agenda_priority = m .action (' agenda.set_priority' , { opts = { desc = ' org set priority' } }),
32
32
org_agenda_priority_up = m .action (' agenda.priority_up' , { opts = { desc = ' org increase priority' } }),
33
33
org_agenda_priority_down = m .action (' agenda.priority_down' , { opts = { desc = ' org decrease priority' } }),
34
+ org_agenda_archive = m .action (' agenda.archive' , { opts = { desc = ' org archive subtree' } }),
34
35
org_agenda_toggle_archive_tag = m .action (
35
36
' agenda.toggle_archive_tag' ,
36
37
{ opts = { desc = ' org toggle archive tag' } }
You can’t perform that action at this time.
0 commit comments