The plugin allow you to view and interact with calendar events via Khal without ever leaving the comfort of Neovim text
- View
khal calendarandkhal listwith colours supported- Add relative dates and named dates support
- Interface for
ikhal
- khal (hard required)
- nui.nvim
- For all UIs in the plugin
- colorizer
- Provide colours for
khalANSI colors output
- Provide colours for
{
"huantrinh1802/khal_endar.nvim",
version = "*",
dependencies = { "MunifTanjim/nui.nvim", "chrisbra/Colorizer" },
config = function()
-- Require
require("khal_endar").setup()
-- Optional
vim.api.nvim_set_keymap("n", "<leader>ki", "<cmd>KLInteract<cr>", { desc = "[K]hal [I]interact", noremap = true, silent = true })
},:KLInteract: View and interact with events:KLShow: equivalent tokhal calendar- Accept argurments:
nil: use2weekas default- Dates range:
2021-01-01 2021-01-31 - Period window:
quarter - Relative dates:
2week
- Accept argurments:
:KLList: equivalent tokhal list:KLRun: allow you to runkhal [COMMAND]within neovim
- The following is applicable to
KLShowandKLList- Relative dates in the form of
1d[ays],1w[eeks],1m[onths],1y[ears] - Period window:
year,quarter,month,week,day
- Relative dates in the form of
This plugin is licensed under the MIT License. See the LICENSE file for more details.
If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.
- Ben Trinh huantrinh1802@gmail.com
Thank you for using the Neovim Lua Plugin! If you find it helpful, please consider starring the repository.