-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmappings.lua
More file actions
38 lines (33 loc) · 823 Bytes
/
Copy pathmappings.lua
File metadata and controls
38 lines (33 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---@type MappingsTable
local M = {}
M.general = {
n = {
[";"] = { ":", "enter command mode", opts = { nowait = true } },
-- ["<C-a>"] = { "ggvG$" },
},
v = {
[">"] = { ">gv", "indent"},
},
i = {
["jk"] = { "jk", "nothing" },
},
}
-- more keybinds!
M.competitest = {
n = {
["<leader>ta"] = { ":CompetiTest add_testcase<CR>", "Add Testcase", },
["<leader>te"] = { ":CompetiTest edit_testcase<CR>", "Edit Testcase", },
["<leader>td"] = { ":CompetiTest delete_testcase<CR>", "Delete Testcase", },
["<leader>tr"] = { ":CompetiTest run<CR>", "Run", },
["<leader>tn"] = { ":CompetiTest run_no_compile<CR>", "Run With No Compile", },
},
}
M.general = {
n = {
[";"] = { ":", "Command Mode", },
},
i = {
["<C-c>"] = { "<ESC>", "Leave Insert", },
},
}
return M