restructure and fix lua formatting/indentation

This commit is contained in:
2026-07-06 02:01:16 +02:00
parent 48d0366081
commit f4971338be
6 changed files with 249 additions and 259 deletions
+5
View File
@@ -1,6 +1,7 @@
require "nvchad.mappings"
local map = vim.keymap.set
local Snacks = require ("snacks")
map("i", "jk", "<ESC>")
vim.api.nvim_del_keymap('n', '<C-n>')
@@ -41,6 +42,10 @@ vim.keymap.set("v", "d", '"_d', { noremap = true })
vim.keymap.set("n", "<leader>k", vim.diagnostic.open_float)
vim.keymap.del("n", "<leader>e")
vim.keymap.set("n", "<leader>e", function() Snacks.explorer.open() end, { desc = "File Explorer" })
vim.keymap.set("n", "<C-q>", function() Snacks.bufdelete() end, { desc = "Close Buffer" })
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
map("n", "<leader>rg", "<cmd>Telescope live_grep<CR>", { desc = "telescope live grep" })