calendar and templates
This commit is contained in:
parent
24bc326744
commit
f810dc3c03
11
init.lua
11
init.lua
|
@ -100,18 +100,13 @@ require('lazy').setup({
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
"mcchrish/zenbones.nvim",
|
||||
dependencies = "rktjmp/lush.nvim"
|
||||
},
|
||||
|
||||
{
|
||||
-- Set lualine as statusline
|
||||
'nvim-lualine/lualine.nvim',
|
||||
-- See `:help lualine.txt`
|
||||
opts = {
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
icons_enabled = true,
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
},
|
||||
|
@ -273,7 +268,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
|
|||
-- See `:help nvim-treesitter`
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'lua', 'python', 'rust', 'vimdoc', 'vim' },
|
||||
ensure_installed = { 'lua', 'python', 'rust', 'vimdoc', 'vim' },
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
@ -495,7 +490,7 @@ cmp.setup {
|
|||
formatting = {
|
||||
-- changing the order of fields so the icon is the first
|
||||
-- fields = { "kind", 'abbr', "menu" },
|
||||
fields = { "abbr", "menu" },
|
||||
fields = { "kind", "abbr", "menu" },
|
||||
view = {
|
||||
entries = "wildmenu" -- can be "custom", "wildmenu" or "native"
|
||||
},
|
||||
|
|
|
@ -30,6 +30,7 @@ return {
|
|||
{ 'tpope/vim-sleuth' }, -- Detect tabstop and shiftwidth automatically
|
||||
|
||||
{ 'matze/vim-move' },
|
||||
{ 'itchyny/calendar.vim' },
|
||||
|
||||
{ "jbyuki/venn.nvim" },
|
||||
|
||||
|
@ -151,11 +152,13 @@ return {
|
|||
build = ":Neorg sync-parsers",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
'jubnzv/mdeval.nvim'
|
||||
'jubnzv/mdeval.nvim',
|
||||
{ "pysan3/neorg-templates", dependencies = { "L3MON4D3/LuaSnip" } },
|
||||
},
|
||||
config = function()
|
||||
require("neorg").setup {
|
||||
load = {
|
||||
["external.templates"] = {},
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.neorgcmd"] = {},
|
||||
["core.integrations.treesitter"] = {},
|
||||
|
|
|
@ -147,6 +147,7 @@ map("n", "<leader><leader>e", ":Ex<CR>", opts)
|
|||
map("n", "<leader>ni", ":Neorg index<CR>", opts)
|
||||
map("n", "<leader>?", ":Telescope oldfiles theme=get_ivy<CR>", opts)
|
||||
map("n", "<leader>,", ":Telescope buffers theme=get_ivy<CR>", opts)
|
||||
map("n", "<leader>oc", ":Calendar -view=year -split=horizontal -position=below -height=12<CR>", opts)
|
||||
|
||||
vim.cmd([[hi tkLink ctermfg=Cyan cterm=bold,underline guifg=blue gui=bold,underline]])
|
||||
vim.cmd([[hi tkBrackets ctermfg=gray guifg=gray]])
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
@document.meta
|
||||
title: {TITLE_INPUT}
|
||||
description:
|
||||
authors: {AUTHOR}
|
||||
categories:
|
||||
created: {TODAY}
|
||||
updated: {TODAY}
|
||||
version: 1.0.0
|
||||
@end
|
||||
|
||||
* {TITLE_INPUT}
|
||||
|
||||
{{:{YESTERDAY}:}}[Yesterday] - {{:{TOMORROW}:}}[Tomorrow]
|
||||
|
||||
** Daily Review
|
||||
- {CURSOR}
|
Loading…
Reference in New Issue