mirror of
https://github.com/eRgo35/neovim.git
synced 2026-02-04 05:46:10 +01:00
15 lines
352 B
Lua
15 lines
352 B
Lua
require "nvchad.mappings"
|
|
|
|
-- add yours here
|
|
|
|
local map = vim.keymap.set
|
|
|
|
map("n", ";", ":", { desc = "CMD enter command mode" })
|
|
map("i", "jk", "<ESC>")
|
|
|
|
map("i", "<C-l>", function ()
|
|
vim.fn.feedkeys(vim.fn['copilot#Accept'](), '')
|
|
end, { desc = "Copilot Accept", noremap = true, silent = true })
|
|
|
|
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
|