end
-- Note Handling Commands
-command('NotaOpenDailyNote', function() require('notes').open_daily() end, { nargs = 0 })
+command('NotaOpenDailyNote', function(options) require('notes').open_daily(options.args) end, { nargs = '?' })
command('NotaOpenWeeklyNote', function() require('notes').open_weekly() end, { nargs = 0 })
command('NotaOpenMonthlyNote', function() require('notes').open_monthly() end, { nargs = 0 })
command('NotaOpenSeasonalNote', function() require('notes').open_seasonal() end, { nargs = 0 })
command('NotaOpenYearlyNote', function() require('notes').open_yearly() end, { nargs = 0 })
command('NotaOpenNote', function() require('notes').open() end, { nargs = 0 })
+command('NotaOpenNextNote', function() require('notes').open_next() end, { nargs = 0 })
+command('NotaOpenPreviousNote', function() require('notes').open_previous() end, { nargs = 0 })
-- Task View Handling Commands
command('NotaOpenAgenda', function() require('task_views').open_agenda() end, { nargs = 0 })
command('NotaToggleTaskImportance', function() require('tasks').toggle_importance() end, { nargs = 0 })
command('NotaInsertTask', function() require('tasks').insert() end, { nargs = 0 })
command('NotaCaptureTask', function() require('tasks').capture() end, { nargs = 0 })
-command('NotaTagTask', function() require('tasks').tag() end, { nargs = 0 })
+command('NotaTagTask', function(options) require('tasks').tag(options.args) end, { nargs = '?' })
+command('NotaRemoveTagTask', function(options) require('tasks').remove_tag(options.args) end, { nargs = '?' })
command('NotaRescheduleTaskToday', function() require('tasks').reschedule_for_today() end, { nargs = 0 })
command('NotaRescheduleTaskTomorrow', function() require('tasks').reschedule_for_tomorrow() end, { nargs = 0 })
command('NotaRescheduleTaskSomeday', function() require('tasks').reschedule_for_someday() end, { nargs = 0 })