summaryrefslogtreecommitdiff
path: root/after/ftplugin/sh.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin/sh.lua')
-rw-r--r--after/ftplugin/sh.lua2
1 files changed, 1 insertions, 1 deletions
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", [[<cmd>s/\(\s*\)\(.\+\)/\1"$(\2)"/<cr>]], { desc = "Surround with variable" })
map("n", ",p", [[<cmd>s/\(\s*\)\(.\+\)/\1>\&2 printf '\2: %s\\n' "$\2"/<cr>]], { desc = "Surround var with printf" })
-map("n", ",e", [[<cmd>s/\(\s*\)\(.\+\)/\1[ "$\2" ] || exit 1'/<cr>]], { desc = "Surround var with exit if empty" })
+map("n", ",e", [[<cmd>s/\(\s*\)\(.\+\)/\1[ "$\2" ] || exit 1/<cr>]], { desc = "Surround var with exit if empty" })