chore: update telekasten config
add helper commands for additional note creation (review templates) fix markdown wrap re-enable note link commands
This commit is contained in:
@@ -4,9 +4,12 @@ local o = vim.opt_local
|
||||
|
||||
-- ──────────────────[ set options for markdown files ]───────────────
|
||||
autocmd('FileType', {
|
||||
pattern = 'markdown',
|
||||
pattern = { 'markdown', 'telekasten' },
|
||||
callback = function()
|
||||
-- o.colorcolumn = '+1,+2'
|
||||
o.colorcolumn = '81'
|
||||
o.wrap = true
|
||||
o.linebreak = true
|
||||
o.breakindent = true
|
||||
o.textwidth = 80
|
||||
o.spell = true
|
||||
end,
|
||||
@@ -32,4 +35,4 @@ autocmd('TextYankPost', {
|
||||
callback = function()
|
||||
vim.highlight.on_yank({ higroup = 'IncSearch', timeout = '800' })
|
||||
end,
|
||||
})
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@ local g = vim.g
|
||||
g.netrw_liststyle = 3
|
||||
g.netrw_banner = 0
|
||||
o.clipboard:append('unnamedplus') -- use system clipboard as the default register
|
||||
o.cdhome = false -- :cd shows cwd
|
||||
o.cdhome = false -- :cd shows cwd
|
||||
o.backspace = 'indent,eol,start'
|
||||
o.spelllang = 'en_us'
|
||||
-- ───────────────────────────────────────────────────── appearance ──
|
||||
@@ -73,4 +73,4 @@ o.ignorecase = true
|
||||
o.smartcase = true
|
||||
o.iskeyword:append('-') -- consider string-string as a whole word
|
||||
-- ───────────────────────────────────────────────────── completion ──
|
||||
o.completeopt = 'menu,preview,noselect'
|
||||
o.completeopt = 'menu,preview,noselect'
|
||||
|
||||
Reference in New Issue
Block a user