Skip to content

obsidian-nvim/calendar.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Calendar library for neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages