mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-08-22 17:43:13 -04:00
added bloocky and dooing
This commit is contained in:
parent
b8f72cb150
commit
92729cff56
16 changed files with 234 additions and 340 deletions
26
plugin/29_bloocky.lua
Normal file
26
plugin/29_bloocky.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
-- Bloocky: timeblocking calendar (day/week/month views), persisted to JSON.
|
||||
-- Loaded via the `general` cat spec (nix mode) or MiniDeps (non-nix).
|
||||
-- Default global toggle is <leader>tb, which collides with the terminal map
|
||||
-- (toggle bracketed paste), so it is moved to the calendar/tasks group <leader>c.
|
||||
local Config = require('config')
|
||||
|
||||
if not Config.isNixCats then
|
||||
local later = MiniDeps.later
|
||||
later(function()
|
||||
MiniDeps.add({ source = 'atiladefreitas/bloocky' })
|
||||
end)
|
||||
end
|
||||
|
||||
local nix = require('config.nix')
|
||||
local later = MiniDeps.later
|
||||
|
||||
later(function()
|
||||
if not nix.get_cat('general', false) then
|
||||
return
|
||||
end
|
||||
require('bloocky').setup({
|
||||
keymaps = {
|
||||
toggle = '<leader>cb',
|
||||
},
|
||||
})
|
||||
end)
|
||||
Loading…
Reference in a new issue