Skip to content

Commit 4f13e27

Browse files
committed
Allow multi-word session and window names. Fixes #34
1 parent a221eb2 commit 4f13e27

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
@@ -256,7 +256,7 @@ class TmuxSession
256256
end
257257

258258
def target(args={})
259-
"#{args.fetch(:session, @session)}:#{args.fetch(:window, @window)}.#{args.fetch(:pane, @pane)}"
259+
"'#{args.fetch(:session, @session)}':'#{args.fetch(:window, @window)}'.#{args.fetch(:pane, @pane)}"
260260
end
261261

262262
def runner_pane

0 commit comments

Comments
 (0)