all repos

init.lua @ f59594d

my nvim config
4 files changed, 41 insertions(+), 3 deletions(-)
refactor(org): hide my notes templates
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-02-23 21:13:28 +0200
Parent: 08996bd
A lua/hidden/.gitignore

@@ -0,0 +1,2 @@

+* +!init.lua
A lua/hidden/init.lua

@@ -0,0 +1,15 @@

+---@param m string +---@return unknown +-- stylua: ignore +local function sreq(m) + local ok, r = pcall(require, m) + if not ok then return nil end + return r +end + +local M = {} + +---@type hidden.org +M.org = sreq "hidden.org" + +return M
M lua/plugins/orgmode.lua

@@ -1,3 +1,4 @@

+local h = require "hidden" local orgdir = "~/org/" ---@param p string

@@ -48,12 +49,12 @@ target = "%<%Y%m%d%H%M%S>-%[slug].org",

}, w = { description = "Weekly", - template = "%?", - target = "%r/weekly/%<%Y-%m-%d %W>.org", + template = h.org.weekly_template, + target = "%r/weekly/%<%Y %V>.org", }, d = { description = "Daily", - template = "%?", + template = h.org.daily_template, target = "%r/daily/%<%Y-%m-%d>.org", }, },
M spell/en.utf-8.add

@@ -286,3 +286,23 @@ italki

keeb pet-project self-discipline +problem-solving +Chronotype +self-care +pkill +firefox +hate-love +WFH +Nadi +Shuddi +Anuloma +Viloma +Shuddhi +Prana +Stress +Huberman +freemium +fav +smth +Shamatha +Samatha