Organizing Language specific into own folder

This commit is contained in:
DarthMooMancer
2025-03-12 17:13:24 -04:00
parent bf830ea850
commit 37f5f611e4
3 changed files with 2 additions and 2 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
},
})
```
+13
View File
@@ -0,0 +1,13 @@
## Keybinds
```lua
-- These are defaults, so no need to copy them
require("Polydev").java.setup({
keybinds = {
["<leader>jb"] = "JavaBuild" -- Building all Java Files in src directory in.
["<leader>jr"] = "JavaRun" -- Runs Main.java in the out folder in your project_root
["<leader>jnf"] = "NewJavaFile" -- Creates a new Java file in the current project src folder
["<leader>jnp"] = "NewJavaProject" -- Creates a new project in the project directory in the config, defaults to ~/Projects unless project_root is set
["<Esc>"] = "CloseTerminal" -- Closes terminal, esc by default.
}
})
```