Configured calendar and bound to <leader>c

This commit is contained in:
2024-09-26 11:25:32 +02:00
parent a0b9561e10
commit 098b3c055e
2 changed files with 14 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ vim.keymap.set('n', 'z=', fzf.spell_suggest, { desc = "Spelling suggestions" })
vim.keymap.set('n', '<leader>g', ":Neogit<CR>", { desc = "Neogit" })
vim.keymap.set('n', '<leader>T', ":Neotree reveal<CR>", { desc = "File Manager" })
-- calendar
vim.keymap.set('n', '<leader>c', ":Calendar -split=horizontal -position=below -height=12<CR>", { desc = "Show calendar" })
--
-- configure workspaces
-- also add a custom picker to fzf

View File

@@ -46,6 +46,17 @@ vim.opt.wrap = false
vim.opt.spell = true
vim.opt.spelllang = "de,en"
--------------------------------------------------
--
-- calendar.vim options
--
--------------------------------------------------
-- :Calendar -split=horizontal -position=below -height=12
vim.g.calendar_first_day = "monday"
vim.g.calendar_view = "year"
vim.g.calendar_week_number = true
--------------------------------------------------
--
-- Other options