summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrii Morozov <dmitrii.morozov@sbb.ch>2025-10-27 14:55:48 +0100
committerDmitrii Morozov <dmitrii.morozov@sbb.ch>2025-10-27 14:55:48 +0100
commit5d15c8bacdc6ed567120079edadfc536a43ff9c0 (patch)
tree039af876093fead5040e4021ceebf577d83910bf
parentc5cc8ed0bc003085216eade1fb31b0950a453663 (diff)
Enable clipboard share, new predefined commands for Maven
-rw-r--r--lua/config/options.lua3
-rw-r--r--lua/plugins/maven.lua4
2 files changed, 7 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua
index e31ed96..960ce06 100644
--- a/lua/config/options.lua
+++ b/lua/config/options.lua
@@ -5,3 +5,6 @@ vim.o.tabstop = 4
vim.o.expandtab = true
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
+
+-- Enable shared clipboard
+vim.opt.clipboard = "unnamedplus"
diff --git a/lua/plugins/maven.lua b/lua/plugins/maven.lua
index fc58804..6d3882c 100644
--- a/lua/plugins/maven.lua
+++ b/lua/plugins/maven.lua
@@ -5,6 +5,10 @@ return {
config = function()
require("maven").setup({
executable = "mvnd",
+ commands = {
+ { cmd = { "clean", "install", "-DskipTests=true" }, desc = "clean, compile, without tests" },
+ { cmd = { "clean", "install" }, desc = "clean, compile" },
+ },
})
end,
}