diff options
Diffstat (limited to 'after/ftplugin')
-rw-r--r-- | after/ftplugin/ps1.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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", [[<cmd>s/^\(\s*\)\(.\+\)/\1Write-Host "\2: $\2"/<cr>]], { desc = "Surround var with Write-Host" }) |