✨ feat(editor): add mdx support and remap surround keys for better accessibility

This commit is contained in:
sankalp committed 2025-07-25 13:34:50 +05:45
1 parent f7b8d3c6e9
commit a73b7d1d36
3 files changed
+15 -11

No files matched your search

+7 -7
View File
@@ -3,13 +3,13 @@ local surround = require('mini.surround')
surround.setup({
custom_surroundings = nil,
mappings = {
add = 'sa',
delete = 'sd',
find = 'sf',
find_left = 'sF',
highlight = 'sh',
replace = 'sr',
update_n_lines = 'sn',
add = 'gsa',
delete = 'gsd',
find = 'gsf',
find_left = 'gsF',
highlight = 'gsh',
replace = 'gsr',
update_n_lines = 'gsn',
suffix_last = 'l', -- Suffix to search with "prev" method
suffix_next = 'n', -- Suffix to search with "next" method
+7 -4
View File
@@ -60,10 +60,7 @@ local plugins = {
config = load_config('editor.treesitter'),
event = { 'BufReadPost', 'BufNewFile' },
},
{
'windwp/nvim-ts-autotag',
event = 'InsertEnter',
},
{
'echasnovski/mini.bracketed',
config = load_config('editor.bracketed'),
@@ -139,6 +136,7 @@ local plugins = {
dependencies = {
'rafamadriz/friendly-snippets',
'Kaiser-Yang/blink-cmp-avante',
'windwp/nvim-ts-autotag',
{
'L3MON4D3/LuaSnip',
config = function()
@@ -263,6 +261,11 @@ local plugins = {
keymap.set('x', 's', substitute.visual, { desc = 'Substitute in visual mode' })
end,
},
{
'davidmh/mdx.nvim',
config = true,
lazy = false,
},
{
'numToStr/Navigator.nvim',
config = load_config('tools.navigator'),
+1
View File
@@ -24,6 +24,7 @@
"mason-conform.nvim": { "branch": "main", "commit": "f3b96fa2217fcb1513301eefbe10ea0e765e33eb" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "bb3a17efc797c34c054463174e5522442576ebd8" },
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
"mdx.nvim": { "branch": "main", "commit": "464a74be368dce212cff02f6305845dc7f209ab3" },
"mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" },
"mini.bracketed": { "branch": "main", "commit": "4a005a6e5aad58230b69f0f59df2cbb8b1c2e643" },
"mini.files": { "branch": "main", "commit": "49c855977e9f4821d1ed8179ed44fe098b93ea2a" },