From f5f3c53368e1c39ddea76f68a9c106c7921deac4 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 2 Dec 2024 00:00:49 +0100 Subject: checkpoint --- after/ftplugin/ps1.lua | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 after/ftplugin/ps1.lua (limited to 'after/ftplugin/ps1.lua') diff --git a/after/ftplugin/ps1.lua b/after/ftplugin/ps1.lua new file mode 100644 index 0000000..b69ea42 --- /dev/null +++ b/after/ftplugin/ps1.lua @@ -0,0 +1,2 @@ +local map = vim.keymap.set +map("n", ",p", [[s/^\(\s*\)\(.\+\)/\1Write-Host "\2: $\2"/]], { desc = "Surround var with Write-Host" }) -- cgit v1.2.3