nvim/lua/mappings.lua

36 lines
545 B
Lua
Raw Normal View History

2024-09-15 22:20:50 +02:00
require "nvchad.mappings"
2024-03-02 01:01:31 +01:00
local M = {}
M.dap = {
plugin = true,
n = {
["<leader>db"] = {"<cmd> DapToggleBreakpoint <CR>"}
}
}
M.dap_python = {
plugin = true,
n = {
["<leader>dpr"] = {
function()
require('dap-python').test_method()
end
}
}
}
2024-09-30 23:02:36 +02:00
M.copilot = {
n = {
["<C-l>"] = {
function()
vim.fn.feedkeys(vim.fn['copilot#Accept'](), '')
end,
"Copilot Accept",
{replace_keycodes = true, nowait=true, silent=true, expr=true, noremap=true}
}
}
}
2024-03-02 01:01:31 +01:00
return M