From 36459bee543d1ea809bf66178b8ed933a44f77b5 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 13 Oct 2024 12:55:41 +0200 Subject: checkpoint --- after/ftplugin/sh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin/sh.lua') diff --git a/after/ftplugin/sh.lua b/after/ftplugin/sh.lua index eb7b950..48c140e 100644 --- a/after/ftplugin/sh.lua +++ b/after/ftplugin/sh.lua @@ -1,5 +1,5 @@ local map = vim.keymap.set map("n", ",v", [[s/\(\s*\)\(.\+\)/\1"$(\2)"/]], { desc = "Surround with variable" }) -map("n", ",p", [[s/\(\s*\)\(.\+\)/\1>&2 printf '\2: %s\\n' "$\2"/]], { desc = "Surround var with printf" }) +map("n", ",p", [[s/\(\s*\)\(.\+\)/\1>\&2 printf '\2: %s\\n' "$\2"/]], { desc = "Surround var with printf" }) map("n", ",e", [[s/\(\s*\)\(.\+\)/\1[ "$\2" ] || exit 1'/]], { desc = "Surround var with exit if empty" }) -- cgit v1.2.3