-- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here local opt = vim.opt opt.scrolloff = 2 -- vim.api.nvim_set_hl(0, "OrgBulletsDash", { fg = "#FFFFFF" }) local function escape(str) -- You need to escape these characters to work correctly local escape_chars = [[;,."|\]] return vim.fn.escape(str, escape_chars) end -- Recommended to use lua template string local qwerty = [[kjlh]] local qwerty_shift = [[KJLH]] local colemak = [[mnei]] local colemak_shift = [[MNEI]] vim.opt.langmap = vim.fn.join({ -- | `to` should be first | `from` should be second escape(colemak_shift) .. ";" .. escape(qwerty_shift), escape(colemak) .. ";" .. escape(qwerty), }, ",") vim.g.maplocalleader = "," vim.g.mapleader = " " vim.opt.langmap = "mhnjekilhilejnkm" vim.keymap.set("n", "m", function() vim.notify("presed") end) vim.g.lazyvim_python_lsp = "basedpyright" -- vim.g.lazyvim_rust_diagnostics = "bacon-ls" vim.g.ai_cmp = false vim.g.snacks_animate = false opt.spell = true opt.wrap = true -- opt.spelllang = { "en", "en-academic" } opt.spelllang = { "en" } -- opt.spelloptions = "camel" opt.clipboard = "unnamedplus" vim.g.root_spec = { "lsp", { ".git", "lua", ".org_root" }, "cwd", }