Moving docs from Javanvim.docs

This commit is contained in:
DarthMooMancer
2025-03-12 17:04:52 -04:00
parent 9f3a248aae
commit bf830ea850
7 changed files with 184 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
## Keybinds
```lua
require("Polydev").c.setup({
keybinds = {
["<Esc>"] = "CloseTerminal" -- Closes terminal, esc by default.
["<leader>cb"] = "CBuild", -- Building all C Files in src directory in.
["<leader>cr"] = "CRun", -- Runs <Project_name> in your build directory
["<leader>cnf"] = "NewCFile", -- Creates a new c file in the current project src folder
["<leader>cnp"] = "NewCHeaderFile", -- Creates a new header file in the current project src folder
["<leader>cnh"] = "NewCProject", -- Creates a new project in the project directory in the config, defaults to ~/Projects/C unless project_root is set
},
})
```