Configured calendar and bound to <leader>c
This commit is contained in:
@@ -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>g', ":Neogit<CR>", { desc = "Neogit" })
|
||||||
vim.keymap.set('n', '<leader>T', ":Neotree reveal<CR>", { desc = "File Manager" })
|
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
|
-- configure workspaces
|
||||||
-- also add a custom picker to fzf
|
-- also add a custom picker to fzf
|
||||||
|
|||||||
@@ -46,6 +46,17 @@ vim.opt.wrap = false
|
|||||||
vim.opt.spell = true
|
vim.opt.spell = true
|
||||||
vim.opt.spelllang = "de,en"
|
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
|
-- Other options
|
||||||
|
|||||||
Reference in New Issue
Block a user