376 current 2025-05-03 18:04:12 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-05-03 18:04:34 -04:00
parent a36b7fdebe
commit 6fe8901228
17 changed files with 679 additions and 16 deletions

View File

@@ -92,6 +92,13 @@ vim.opt.encoding = "utf-8"
-- Leader key
vim.g.mapleader = ","
vim.opt_local.conceallevel = 0
vim.opt_local.foldmethod = 'manual'
-- Keep treesitter, ditch legacy syntax:
vim.g.markdown_fenced_languages = {}
vim.loader.enable()
------------------------------------------------------
-- KEY MAPPINGS
------------------------------------------------------
@@ -106,6 +113,11 @@ vim.api.nvim_set_keymap("n", "<Esc>^[", "<Esc>^[", { noremap = true })
-- inoremap {<CR> {<CR>}<C-o>O}
vim.api.nvim_set_keymap("i", "{<CR>", "{<CR>}<C-o>O", { noremap = true })
local map = vim.keymap.set
local opts = { noremap = true, silent = true }
-- yank link
map("n", "<leader>yl", "?\\](<CR>lvi)y<Cmd>nohlsearch<CR>", opts)
-- Save file with Ctrl+S
vim.cmd([[
command -nargs=0 -bar Update if &modified