Made the auto line wrap work on tex and org and removed folder structure from org-roam

This commit is contained in:
Warwick New 2026-04-21 11:01:50 +01:00
parent a30db88a44
commit 88f6ebf489
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ vim.opt.foldenable = false
-- Text wrap at 80 chars for some file types -- Text wrap at 80 chars for some file types
vim.api.nvim_create_autocmd('BufWinEnter', { vim.api.nvim_create_autocmd('BufWinEnter', {
pattern = { '*.md', "*.txt" }, pattern = { '*.md', "*.txt", "*.tex", "*.org" },
callback = function() callback = function()
vim.opt_local.colorcolumn = '80' vim.opt_local.colorcolumn = '80'
vim.opt_local.textwidth = 80 vim.opt_local.textwidth = 80

View file

@ -18,12 +18,12 @@ return {
f = { f = {
description = "fleeting", description = "fleeting",
template = "#+filetags: fleeting\n\n%?", template = "#+filetags: fleeting\n\n%?",
target = "fleeting%[sep]%<%Y%m%d%H%M%S>-%[slug].org", target = "%<%Y%m%d%H%M%S>-fleeting-%[slug].org",
}, },
s = { s = {
description = "summary", description = "summary",
template = "#+filetags: summary\n\n* %?\n** Description\n\n** Notes\n - pg 1: ", template = "#+filetags: summary\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
target = "literature%[sep]%<%Y%m%d%H%M%S>-%[slug].org", target = "%<%Y%m%d%H%M%S>-summary-%[slug].org",
}, },
a = { a = {
description = "atomic", description = "atomic",