[neovim] Enable mini-surround and mini-comment by default. Remove lua file-type since it auto-formats
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
set shiftwidth=4
|
|
||||||
set tabstop=4
|
|
||||||
set softtabstop=4
|
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
-- Keymaps are automatically loaded on the VeryLazy event
|
-- 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
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
-- Add any additional keymaps here
|
-- 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 })
|
||||||
|
|||||||
10
home-manager/features/neovim/config/lua/plugins/mini.lua
Normal file
10
home-manager/features/neovim/config/lua/plugins/mini.lua
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"echasnovski/mini.surround",
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"echasnovski/mini.comment",
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user