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": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737672001,
|
"lastModified": 1737885640,
|
||||||
"narHash": "sha256-YnHJJ19wqmibLQdUeq9xzE6CjrMA568KN/lFPuSVs4I=",
|
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "035f8c0853c2977b24ffc4d0a42c74f00b182cd8",
|
"rev": "4e96537f163fad24ed9eb317798a79afc85b51b7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,24 @@ return {
|
||||||
org_startup_folded = "content",
|
org_startup_folded = "content",
|
||||||
org_ellipsis = " ",
|
org_ellipsis = " ",
|
||||||
org_capture_templates = {
|
org_capture_templates = {
|
||||||
t = { description = "Task", template = "* TODO %?\n" },
|
t = { description = "(t)odo", template = "* TODO %?\n" },
|
||||||
l = { description = "Link", template = "* TODO [[%x]]%?" },
|
a = { description = "Todo (a)t line", template = "* TODO %?\nat: %a" },
|
||||||
a = { description = "Task at 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",
|
mode = "n",
|
||||||
},
|
},
|
||||||
{ "<leader>xr", "<cmd>source $MYVIMRC<cr>", desc = "Reload config", 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 {
|
return {
|
||||||
"folke/zen-mode.nvim",
|
"folke/zen-mode.nvim",
|
||||||
opts = {},
|
opts = {
|
||||||
|
window = {
|
||||||
|
backdrop = 1,
|
||||||
|
width = 100,
|
||||||
|
options = {
|
||||||
|
number = false,
|
||||||
|
relativenumber = false,
|
||||||
|
signcolumn = "no",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,8 @@
|
||||||
ripgrep
|
ripgrep
|
||||||
fzf
|
fzf
|
||||||
fd
|
fd
|
||||||
|
sd
|
||||||
|
bat
|
||||||
fortune
|
fortune
|
||||||
neofetch
|
neofetch
|
||||||
neovim
|
neovim
|
||||||
|
|
@ -57,9 +59,6 @@
|
||||||
"tree-sitter"
|
"tree-sitter"
|
||||||
"yt-dlp"
|
"yt-dlp"
|
||||||
"zoxide"
|
"zoxide"
|
||||||
"nuspell"
|
|
||||||
"aspell"
|
|
||||||
"enchant"
|
|
||||||
"pinentry"
|
"pinentry"
|
||||||
"pinentry-mac"
|
"pinentry-mac"
|
||||||
"shellcheck"
|
"shellcheck"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue