Made the auto line wrap work on tex and org and removed folder structure from org-roam
This commit is contained in:
parent
a30db88a44
commit
88f6ebf489
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ vim.opt.foldenable = false
|
|||
|
||||
-- Text wrap at 80 chars for some file types
|
||||
vim.api.nvim_create_autocmd('BufWinEnter', {
|
||||
pattern = { '*.md', "*.txt" },
|
||||
pattern = { '*.md', "*.txt", "*.tex", "*.org" },
|
||||
callback = function()
|
||||
vim.opt_local.colorcolumn = '80'
|
||||
vim.opt_local.textwidth = 80
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@ return {
|
|||
f = {
|
||||
description = "fleeting",
|
||||
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 = {
|
||||
description = "summary",
|
||||
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 = {
|
||||
description = "atomic",
|
||||
|
|
|
|||
Loading…
Reference in a new issue