This commit is contained in:
Jeff Lance 2023-08-06 16:27:39 +02:00
parent 53243a124a
commit 321055bbb0

View File

@ -9,7 +9,8 @@ Last Modified By : Jeff Lance <email@jefflance.me>
lvim is the global options object
--]]--
--]]
--
@ -19,7 +20,7 @@ lvim is the global options object
-- lvim config
lvim.log.level = "warn"
lvim.format_on_save.enabled = true
lvim.format_on_save.pattern = { "*.py", "*.tex" }
lvim.format_on_save.pattern = { "*.asy", "*.lua", "*.py", "*.tex", ".toml" }
lvim.colorscheme = "onedark_dark"
lvim.background = "dark"
lvim.transparent_window = true
@ -94,7 +95,8 @@ lvim.builtin.which_key.mappings["n"] = {
n = { "<CMD>ZkNew { title = vim.fn.input('Titre: ') }<CR>", "Créer une nouvelle note" },
o = { "<CMD>ZkNotes { sort = { 'modified' } }<CR>", "Ouvrir une note" },
O = { "<CMD>ZkTags<CR>", "Ouvrir les notes avec le tag sélectionné" },
f = { "<CMD>ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Rechercher note: ') } }<CR>", "Rechercher une note" },
f = { "<CMD>ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Rechercher note: ') } }<CR>",
"Rechercher une note" },
F = { ":'<,'>ZkMatch<CR>", "Rechercher les notes contenant la sélection" },
}
@ -122,6 +124,7 @@ lvim.builtin.terminal.open_mapping = "<C-t>"
lvim.builtin.treesitter.ensure_installed = {
"bash",
"c",
"java",
"javascript",
"json",
"latex",
@ -131,7 +134,7 @@ lvim.builtin.treesitter.ensure_installed = {
"tsx",
"css",
"rust",
"java",
"toml",
"yaml",
}