Reconfigures org mode and zen mode
This commit is contained in:
parent
26746d6492
commit
575d803160
5 changed files with 35 additions and 10 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -44,11 +44,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1737672001,
|
||||
"narHash": "sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I=",
|
||||
"lastModified": 1737885640,
|
||||
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "035f8c0853c2977b24ffc4d0a42c74f00b182cd8",
|
||||
"rev": "4e96537f163fad24ed9eb317798a79afc85b51b7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -18,9 +18,24 @@ return {
|
|||
org_startup_folded = "content",
|
||||
org_ellipsis = " ",
|
||||
org_capture_templates = {
|
||||
t = { description = "Task", template = "* TODO %?\n" },
|
||||
l = { description = "Link", template = "* TODO [[%x]]%?" },
|
||||
a = { description = "Task at line", template = "* TODO %?\nat: %a" },
|
||||
t = { description = "(t)odo", template = "* TODO %?\n" },
|
||||
a = { description = "Todo (a)t line", template = "* TODO %?\nat: %a" },
|
||||
l = { description = "(l)ink", template = "* %x%?" },
|
||||
j = {
|
||||
description = "(j)ournal entry",
|
||||
template = "\n** %?",
|
||||
datetree = {
|
||||
tree_type = "custom",
|
||||
tree = {
|
||||
{
|
||||
format = "%Y-%m-%d",
|
||||
pattern = "^(%d%d%d%d)-(%d%d)-(%d%d)$",
|
||||
order = { 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
target = "~/orgnzr/journal.org",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -179,5 +179,6 @@ return {
|
|||
mode = "n",
|
||||
},
|
||||
{ "<leader>xr", "<cmd>source $MYVIMRC<cr>", desc = "Reload config", mode = "n" },
|
||||
{ "<leader>z", "<cmd>ZenMode<cr>", desc = "Toggle ZenMode", mode = "n" },
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
opts = {},
|
||||
opts = {
|
||||
window = {
|
||||
backdrop = 1,
|
||||
width = 100,
|
||||
options = {
|
||||
number = false,
|
||||
relativenumber = false,
|
||||
signcolumn = "no",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
ripgrep
|
||||
fzf
|
||||
fd
|
||||
sd
|
||||
bat
|
||||
fortune
|
||||
neofetch
|
||||
neovim
|
||||
|
|
@ -57,9 +59,6 @@
|
|||
"tree-sitter"
|
||||
"yt-dlp"
|
||||
"zoxide"
|
||||
"nuspell"
|
||||
"aspell"
|
||||
"enchant"
|
||||
"pinentry"
|
||||
"pinentry-mac"
|
||||
"shellcheck"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue