Skip to content

Commit 06ba414

Browse files
committed
Allow single quotes in commands. Fixes #6
1 parent b9684aa commit 06ba414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class TmuxSession
179179
end
180180

181181
def _send_command(command, target)
182-
_run("send-keys -t #{target} '#{command.gsub("'", "\'")}'")
182+
_run("send-keys -t #{target} \"#{command.gsub('"', '\"')}\"")
183183
_run("send-keys -t #{target} Enter")
184184
end
185185

0 commit comments

Comments
 (0)