23022024-4

This commit is contained in:
foozzi 2024-02-23 21:53:50 -05:00
parent 8930c5b7df
commit 06e5331c46
5 changed files with 33 additions and 9 deletions

View file

@ -1,4 +1,5 @@
local opt = vim.opt
local api = vim.api
-- Tab / Indentation
opt.tabstop = 2
@ -48,3 +49,8 @@ opt.modifiable = true
-- "n-v-c:block,i-ci-ve:block,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175"
opt.encoding = "UTF-8"
opt.cursorline = false
api.nvim_set_option(
"langmap",
"йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,оj,лk,дl,ж\\;,э',ё\\,яz,чx,сc,мv,иb,тn,ьm,б\\,,ю.,ЙQ,ЦW,УE,КR,ЕT,НY,ГU,ШI,ЩO,ЗP,Х{,Ъ},ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж:,Э\",ЯZ,ЧX,СC,МV,ИB,ТN,ЬM,Б<,Ю>,Ё/|"
)

View file

@ -18,6 +18,15 @@ return {
cmp = true,
},
filetypes = { md = true, rmd = true, markdown = true, telekasten = true },
links = {
transform_explicit = function(text)
return text
end,
style = "wiki",
},
})
end,
dependencies = {
"bullets-vim/bullets.vim",
},
}

View file

@ -1,4 +1,6 @@
local config = function()
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
parser_configs.markdown.used_by = { "telekasten" }
require("nvim-treesitter.configs").setup({
build = ":TSUpdate",
indent = {
@ -49,5 +51,5 @@ end
return {
"nvim-treesitter/nvim-treesitter",
lazy = false,
opts = config,
config = config,
}

View file

@ -1,6 +1,12 @@
local templates = vim.fn.expand("~/Dropbox/TextSync/99-templates")
local config = function()
require("telekasten").setup({
home = vim.fn.expand("~/Dropbox/TextSync/00-zettel"),
-- dailies = vim.fn.expand("~/Dropbox/TextSync/00-zettel/dialy"),
templates = templates,
template_new_note = templates .. "/" .. "new_note",
template_new_daily = templates .. "/" .. "dialy_note",
vim.api.nvim_command("hi tkLink ctermfg=36 cterm=bold,underline guifg=#10ac84 gui=bold,underline"),
vim.api.nvim_command("hi tkBrackets ctermfg=gray guifg=gray"),