From 4fc35881545cd0b4fb390e74674f3502eb63dc76 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Wed, 19 Feb 2025 09:55:46 -0500 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index db20407..effb193 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,16 @@ The main goal is the plugin is to be simple and extensible for Java developers. ## Installation For Lazy.nvim: -''' +``` require { - "DarthMooMancer/nvim-java" +"DarthMooMancer/nvim-java" } -''' +``` For Mini.Deps: -''' +``` MiniDeps.add({ source = 'DarthMooMancer/nvim-java' }) -''' +``` !!! You can install with any plugin manager, these are just examples. You can try this with vim, but I cant guarantee that it would work. !!! @@ -31,10 +31,12 @@ MiniDeps.add({ source = 'DarthMooMancer/nvim-java' }) Nvim-java doesnt come with default keybinds; however, here are the ones I use and recommend: -> vim.keymap.set("n", "jb", ":JavaBuild", { silent = true }) -> vim.keymap.set("n", "jr", ":JavaRun", { silent = true }) -> vim.keymap.set("n", "nf", ":NewJavaFile", { silent = true }) -> vim.keymap.set("n", "np", ":NewJavaProject", { silent = true }) +``` +vim.keymap.set("n", "jb", ":JavaBuild", { silent = true }) +vim.keymap.set("n", "jr", ":JavaRun", { silent = true }) +vim.keymap.set("n", "nf", ":NewJavaFile", { silent = true }) +vim.keymap.set("n", "np", ":NewJavaProject", { silent = true }) +``` ## Questions and Contributing