Calendar library for neovim
  • Lua 99.6%
  • Makefile 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zizhou teng (n451) 0666c44e14 feat: LSP support
2026-02-20 17:56:24 +00:00
ftplugin feat: popup calendar window working 2026-02-20 16:23:37 +00:00
lua feat: LSP support 2026-02-20 17:56:24 +00:00
scripts test: add Makefile 2025-12-30 16:56:57 +00:00
tests feat: popup calendar window working 2026-02-20 16:23:37 +00:00
.gitignore test: add Makefile 2025-12-30 16:56:57 +00:00
LICENSE Initial commit 2025-05-07 20:52:04 +08:00
Makefile test: add Makefile 2025-12-30 16:56:57 +00:00
README.md doc: more ideas 2026-02-20 17:17:40 +00:00

calendar.nvim

WIP Calendar library for neovim

Idea

  • Like emacs's builtin calendar, calendar-vim, be a capable yet minimal calendar.
  • As less vim script functions as possible
  • Supports customizable callbacks for any app you want to build
  • Flexible Layouts, ordered as planned:
    1. Center, one month popup, like orgmode(nvim)
    2. Follow Cursor reference
    3. Side pannel, three month, like neorg's and calendar-vim
    4. Long Term Goal Calendar app view calendar.vim
    5. Heatmap
    6. Agenda view

Three parts:

  • date: Contains all the logic of calculating dates
    • parser: parse date strings
    • writer: outputs formatted dates
  • calendar: Contains all the logic of operation of a calendar
    • All the views/layouts
    • custom everything by ftplugin
      • winhighlight
      • winborder
      • ...
  • actions: customizable and provide utils for ease of defining
    • opening actions:
      • open the date under cursor
    • confirm actions:
      • insert dates
      • echo dates
      • open journal of dates
  • highlight: responsible for highlight according to view

Acknowledgements