update config 26102023
This commit is contained in:
parent
78f4cfb9f3
commit
26d88706e5
|
@ -111,7 +111,11 @@ return {
|
|||
require("telescope").load_extension("neorg")
|
||||
require("neorg").setup {
|
||||
load = {
|
||||
["external.templates"] = {},
|
||||
["external.templates"] = {
|
||||
config = {
|
||||
templates_dir = vim.fn.stdpath("config") .. "/templates/norg",
|
||||
},
|
||||
},
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.neorgcmd"] = {},
|
||||
["core.completion"] = { config = { engine = "nvim-cmp", name = "[Norg]" } },
|
||||
|
@ -119,11 +123,12 @@ return {
|
|||
["core.integrations.telescope"] = {},
|
||||
["core.keybinds"] = {
|
||||
config = {
|
||||
neorg_leader = "<leader><leader>",
|
||||
-- neorg_leader = "<leader><leader>",
|
||||
hook = function(keybinds)
|
||||
keybinds.map("norg", "n", "gj", "<Cmd>Neorg journal today<CR>")
|
||||
keybinds.map("norg", "n", "jo", "<Cmd>Neorg journal toc open<CR>")
|
||||
keybinds.map("norg", "n", "jou", "<Cmd>Neorg journal toc update<CR>")
|
||||
keybinds.map("norg", "n", "jO", "<Cmd>Neorg journal toc update<CR>")
|
||||
keybinds.map("norg", "n", "np", "<Cmd>Neorg presenter start<CR>")
|
||||
keybinds.remap_event("norg", "i", "<C-f>", "core.integrations.telescope.insert_link")
|
||||
keybinds.remap_event("norg", "n", "ge", "core.looking-glass.magnify-code-block")
|
||||
keybinds.remap_event("norg", "n", "<C-s>", "core.integrations.telescope.find_linkable")
|
||||
|
@ -179,9 +184,14 @@ return {
|
|||
["core.summary"] = {},
|
||||
["core.syntax"] = {},
|
||||
["core.promo"] = {},
|
||||
["core.journal"] = {},
|
||||
["core.journal"] = {
|
||||
config = {
|
||||
strategy = "nested",
|
||||
},
|
||||
},
|
||||
["core.ui"] = {},
|
||||
["core.tangle"] = {},
|
||||
["core.presenter"] = { config = { zen_mode = "zen-mode" } },
|
||||
["core.queries.native"] = {},
|
||||
["core.qol.todo_items"] = {
|
||||
config = {
|
||||
|
@ -193,7 +203,7 @@ return {
|
|||
close_after_use = true,
|
||||
},
|
||||
},
|
||||
["core.esupports.metagen"] = {},
|
||||
["core.esupports.metagen"] = { config = { type = "empty", update_date = true } },
|
||||
["core.esupports.hop"] = {},
|
||||
["core.dirman"] = { -- Manages Neorg workspaces
|
||||
config = {
|
||||
|
@ -242,25 +252,6 @@ return {
|
|||
MkdnToggleToDo = { { 'n', 'v' }, '<Space>to' },
|
||||
MkdnNewListItem = { { 'n', 'v' }, '<leader>li' },
|
||||
},
|
||||
new_file_template = {
|
||||
template = [[
|
||||
# {{ title }}
|
||||
Date: {{ date }}
|
||||
Filename: {{ filename }}
|
||||
]],
|
||||
placeholders = {
|
||||
before = {
|
||||
date = function()
|
||||
return os.date("%A, %B %d, %Y") -- Wednesday, March 1, 2023
|
||||
end
|
||||
},
|
||||
after = {
|
||||
filename = function()
|
||||
return vim.api.nvim_buf_get_name(0)
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
snippet #!b
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Created By: Javier Pacheco - jpacheco@cock.li
|
||||
# Created On: `strftime("%d/%m/%y")`
|
||||
# Project: ${1:Description of the script}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
# [[ Org ]]
|
||||
snippet td
|
||||
- [ ] $0
|
|
@ -1,16 +1,19 @@
|
|||
@document.meta
|
||||
title: {TITLE_INPUT}
|
||||
title: 2023-10-27
|
||||
description:
|
||||
authors: {AUTHOR}
|
||||
authors: francisco.pacheco
|
||||
categories:
|
||||
created: {TODAY}
|
||||
updated: {TODAY}
|
||||
created: 2023-10-27
|
||||
updated: 2023-10-27T04:48:15-0600
|
||||
version: 1.0.0
|
||||
@end
|
||||
|
||||
* {TITLE_INPUT}
|
||||
|
||||
{{:{YESTERDAY}:}}[Yesterday] - {{:{TOMORROW}:}}[Tomorrow]
|
||||
* 2023-10-27
|
||||
#weather Sunny
|
||||
{:2023-10-26:}[Yesterday] - {:2023-10-28:}[Tomorrow]
|
||||
|
||||
** Daily Review
|
||||
- {CURSOR}
|
||||
-
|
||||
|
||||
** Today's Checklist
|
||||
- ( ) Write my daily review
|
||||
|
|
Loading…
Reference in New Issue