[neovim] Enable mini-surround and mini-comment by default. Remove lua file-type since it auto-formats

This commit is contained in:
2025-02-16 12:45:03 -08:00
parent 12d734995e
commit cb5c6518f1
3 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("n", "<C-up>", "<C-w>k", { noremap = true, silent = true })
vim.keymap.set("n", "<C-down>", "<C-w>j", { noremap = true, silent = true })
vim.keymap.set("n", "<C-left>", "<C-w>h", { noremap = true, silent = true })
vim.keymap.set("n", "<C-right>", "<C-w>l", { noremap = true, silent = true })

View File

@@ -0,0 +1,10 @@
return {
{
"echasnovski/mini.surround",
enable = true,
},
{
"echasnovski/mini.comment",
enable = true,
},
}