Merge with upstream

This commit is contained in:
2025-01-05 18:48:43 +01:00
parent 9bce0ad153
commit 84d2e3c61c
6 changed files with 27 additions and 19 deletions

View File

@@ -1,11 +1,17 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
--
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
-- restore shift-y line copy
map('n', 'Y', 'Y')
--
-- Copilot mappings
map('i', '<C-]>', 'copilot#Accept("\\<CR>")', {
expr = true,