<leader>C for vertical calendar, todo snippet with an extra space
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
-- Options for AsciiDoc files, mainly used in diary situations
|
||||
-- (pun intended)
|
||||
vim.opt.textwidth = 80
|
||||
|
||||
@@ -20,7 +20,8 @@ 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" })
|
||||
vim.keymap.set('n', '<leader>c', ":Calendar -split=horizontal -position=below -height=12<CR>", { desc = "Show calendar below" })
|
||||
vim.keymap.set('n', '<leader>C', ":Calendar -view=year -split=vertical -width=27<CR>", { desc = "Show calendar right" })
|
||||
|
||||
-- Open current file in browser (chromium)
|
||||
vim.keymap.set('n', '<space>o', ":silent !chromium '%'<cr>", { desc = "Open in browser" })
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# ccflow local snippets for all modes
|
||||
|
||||
snippet todo "Add a TODO marker"
|
||||
// TODO.`strftime("%Y-%m-%d -")`
|
||||
// TODO.`strftime("%Y-%m-%d -")`
|
||||
|
||||
snippet note "Add a NOTE marker"
|
||||
// NOTE.`strftime("%Y-%m-%d -")`
|
||||
|
||||
Reference in New Issue
Block a user