{"id":29673727,"url":"https://github.com/hamidi-dev/org-super-agenda.nvim","last_synced_at":"2025-07-22T22:08:07.511Z","repository":{"id":305531160,"uuid":"1023118804","full_name":"hamidi-dev/org-super-agenda.nvim","owner":"hamidi-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-20T17:06:23.000Z","size":364,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-20T17:36:36.345Z","etag":null,"topics":["nvim-orgmode","nvim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamidi-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-20T15:09:09.000Z","updated_at":"2025-07-20T17:06:26.000Z","dependencies_parsed_at":"2025-07-20T17:46:48.516Z","dependency_job_id":null,"html_url":"https://github.com/hamidi-dev/org-super-agenda.nvim","commit_stats":null,"previous_names":["hamidi-dev/org-super-agenda.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/hamidi-dev/org-super-agenda.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidi-dev%2Forg-super-agenda.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidi-dev%2Forg-super-agenda.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidi-dev%2Forg-super-agenda.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidi-dev%2Forg-super-agenda.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamidi-dev","download_url":"https://codeload.github.com/hamidi-dev/org-super-agenda.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidi-dev%2Forg-super-agenda.nvim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580777,"owners_count":23951290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nvim-orgmode","nvim-plugin"],"created_at":"2025-07-22T22:08:04.767Z","updated_at":"2025-07-22T22:08:07.495Z","avatar_url":"https://github.com/hamidi-dev.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org-super-agenda.nvim\n\n![org-super-agenda](screenshots/org-super-agenda-help.png)\n![org-super-agenda](screenshots/org-super-agenda.png)\n\nA Neovim plugin inspired by [org-super-agenda](https://github.com/alphapapa/org-super-agenda) for Emacs. This plugin allows you to organize your org-mode agenda items into custom groups based on various criteria.\n\n\u003e **Note**  \n\u003e This project is undergoing rapid iterations, and features will be added over time. Stay tuned!\n\n\n## ✨ Features\n\n- One command: `:OrgSuperAgenda`, no buffers polluted  \n- Simple and clean interface  \n- Smart groups: Today, Overdue, Upcoming … fully user‑defined  \n  - Group org items by priority, tags, scheduled dates, deadlines, etc.  \n- Per‑state colors \u0026 strike‑through; highlight just the parts you care about\n- Quick filtering by TODO state with per-state keymaps (press `oa` to show all, `oo` to toggle the Other group)\n- Change the SCHEDULED date with `cs` or set a DEADLINE with `cd`\n- Cycle TODO states with `t` and refresh the agenda with `r`\n- Press `\u003cCR\u003e` on an agenda item to view its source headline in the same floating window and return to the agenda when that file is closed\n- Customize the order of filename, dates, TODO keywords and other parts of each heading  \n\n## 📦 Installation and configuration\n\nUsing lazy.nvim:\n\n```lua\nreturn {\n  'hamidi-dev/org-super-agenda.nvim',\n  dependencies = {\n    'nvim-orgmode/orgmode', -- required\n    {\n      'lukas-reineke/headlines.nvim', -- optional nicety\n      config = true\n    }\n  },\n  config = function()\n    require(\"org-super-agenda\").setup({\n      org_directories     = {}, -- recurse for *.org\n      todo_states         = {\n        {\n          name           = 'TODO',\n          keymap         = 'ot',\n          color          = '#FF5555',\n          strike_through = false,\n          fields         = { 'filename', 'todo', 'headline', 'priority', 'date', 'tags' },\n        },\n        {\n          name           = 'PROGRESS',\n          keymap         = 'op',\n          color          = '#FFAA00',\n          strike_through = false,\n          fields         = { 'filename', 'todo', 'headline', 'priority', 'date', 'tags' },\n        },\n        {\n          name           = 'WAITING',\n          keymap         = 'ow',\n          color          = '#BD93F9',\n          strike_through = false,\n          fields         = { 'filename', 'todo', 'headline', 'priority', 'date', 'tags' },\n        },\n        {\n          name           = 'DONE',\n          keymap         = 'od',\n          color          = '#50FA7B',\n          strike_through = true,\n          fields         = { 'filename', 'todo', 'headline', 'priority', 'date', 'tags' },\n        },\n      },\n      keymaps = {\n        filter_reset = 'oa',\n        toggle_other = 'oo',\n        reschedule   = 'cs',\n        set_deadline = 'cd',\n        cycle_todo   = 't',\n        reload       = 'r',\n      },\n      window           = {\n        width        = 0.8,\n        height       = 0.7,\n        border       = \"rounded\",\n        title        = 'Super Agenda',\n        title_pos    = 'center',\n        margin_left  = 0,  -- increasing this breaks stuff for now, so use with care\n        margin_right = 0,  -- increasing this is fine\n      },\n      -- NOTE: group specification. Order matters!. First matcher wins!\n      groups              = {\n        { name = \"📅 Today\", matcher = function(i) return i.scheduled and i.scheduled:is_today() end },\n        { name = \"🗓️ Tomorrow\", matcher = function(i) return i.scheduled and i.scheduled:days_from_today() == 1 end, },\n        {\n          name = \"⏰ Deadlines\",\n          matcher = function(i)\n            return i.deadline ~= nil and i.todo_state ~= 'DONE' and\n                not i:has_tag(\"personal\")\n          end,\n        },\n        {\n          name = \"⭐ Important\",\n          matcher = function(i)\n            return i.priority == \"A\" and\n                (i.deadline ~= nil or i.scheduled ~= nil)\n          end\n        },\n        {\n          name = '⏳ Overdue',\n          matcher = function(it)\n            return it.todo_state ~= 'DONE' and (\n              (it.deadline and it.deadline:is_past()) or\n              (it.scheduled and it.scheduled:is_past())\n            )\n          end\n        },\n        { name = \"🏠 Personal\", matcher = function(item) return item:has_tag(\"personal\") end },\n        { name = \"💼 Work\", matcher = function(item) return item:has_tag(\"work\") end },\n        {\n          name = \"📆 Upcoming\",\n          matcher = function(it)\n            local days = require('org-super-agenda.config').get().upcoming_days or 10\n            local deadline_ok = it.deadline and it.deadline:days_from_today() \u003e= 0 and\n                it.deadline:days_from_today() \u003c= days\n            local sched_ok = it.scheduled and it.scheduled:days_from_today() \u003e= 0 and\n                it.scheduled:days_from_today() \u003c= days\n            return deadline_ok or sched_ok\n          end\n        },\n      },\n      ---------------------------------------------------------------------------\n      -- misc\n      hide_empty_groups   = false,   -- set true to drop blank sections\n      keep_order          = false,   -- keep original org‑agenda sort\n      allow_unsafe_groups = true,    -- for :pred / :auto-map later\n      group_format        = '* %s',  -- header text for groups\n      other_group_name    = 'Other', -- title for catchall group\n      show_other_group    = false,   -- disable to remove catchall group\n      show_tags           = true,    -- display headline tags aligned right\n      inline_dates        = true,    -- show SCHEDULED/DEADLINE info before TODO\n      short_date_labels   = false,   -- use 'S'/'D' instead of full labels\n      show_filename       = true,    -- append the source file name to headings\n      heading_order       = { 'filename', 'todo', 'headline', 'priority', 'date' },\n      heading_max_length  = 70,      -- truncate headings after this many characters\n      upcoming_days       = 10,\n    })\n  end\n}\n```\n\n## 🧠 Custom Groups with Lua\n\nDefine your own agenda groups using Lua matchers — full control, no DSL required.\n\n```lua\ngroups = {\n  {\n    name = \"🔥 Urgent Work\",\n    matcher = function(item)\n      return item:has_tag(\"work\") and item.priority == \"A\"\n    end,\n  },\n  {\n    name = \"💤 Someday\",\n    matcher = function(item)\n      return item:has_tag(\"someday\") or item.todo_state == \"WAITING\"\n    end,\n  },\n  {\n    name = \"🧪 Experimental\",\n    matcher = function(item)\n      return item.headline:match(\"Proof of Concept\") or item:has_tag(\"test\")\n    end,\n  },\n}\n```\n\nYou can match based on:\n\n- `item.todo_state` — e.g. `'TODO'`, `'DONE'`, etc.\n- `item.headline` — the full text of the headline\n- `item:has_tag(\"tagname\")` — tag checking\n- `item.priority` — `'A'`, `'B'`, `'C'` or `nil`\n- `item.scheduled`, `item.deadline` — both support methods like `:is_today()` or `:days_from_today()`\n\n💡 *Note:* Groups are checked in order. The **first match wins**!\n\n## 🤝 Contributing\n\nFound a bug? Have a feature request? Feel free to:\n\n1. Submit a pull request  \n2. Open an issue  \n3. Start a discussion  \n\nAll contributions are welcome! 🎉\n\n## 📄 License\n\nMIT License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidi-dev%2Forg-super-agenda.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamidi-dev%2Forg-super-agenda.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidi-dev%2Forg-super-agenda.nvim/lists"}