From 2de8fa2517c4f3232138b5cb2c370c3aec07e369 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 20 Oct 2024 19:41:44 +0200 Subject: checkpoint --- after/ftplugin/sh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin') diff --git a/after/ftplugin/sh.lua b/after/ftplugin/sh.lua index 48c140e..569d87d 100644 --- a/after/ftplugin/sh.lua +++ b/after/ftplugin/sh.lua @@ -2,4 +2,4 @@ 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", ",e", [[s/\(\s*\)\(.\+\)/\1[ "$\2" ] || exit 1'/]], { desc = "Surround var with exit if empty" }) +map("n", ",e", [[s/\(\s*\)\(.\+\)/\1[ "$\2" ] || exit 1/]], { desc = "Surround var with exit if empty" }) -- cgit v1.2.3