@@ -123,7 +123,7 @@ function! VimuxPromptCommand()
123
123
endfunction
124
124
125
125
function ! _VimuxTmuxSession ()
126
- return _VimuxTmuxProperty (" S" )
126
+ return _VimuxTmuxProperty (" # S" )
127
127
endfunction
128
128
129
129
function ! _VimuxTmuxIndex ()
@@ -135,11 +135,11 @@ function! _VimuxTmuxIndex()
135
135
endfunction
136
136
137
137
function ! _VimuxTmuxPaneIndex ()
138
- return _VimuxTmuxProperty (" P" )
138
+ return _VimuxTmuxProperty (" #I.# P" )
139
139
endfunction
140
140
141
141
function ! _VimuxTmuxWindowIndex ()
142
- return _VimuxTmuxProperty (" I" )
142
+ return _VimuxTmuxProperty (" # I" )
143
143
endfunction
144
144
145
145
function ! _VimuxNearestIndex ()
@@ -167,9 +167,9 @@ function! _VimuxOption(option, default)
167
167
endfunction
168
168
169
169
function ! _VimuxTmuxProperty (property)
170
- return substitute (system (" tmux display -p '# " .a: property ." '" ), ' \n$' , ' ' , ' ' )
170
+ return substitute (system (" tmux display -p '" .a: property ." '" ), ' \n$' , ' ' , ' ' )
171
171
endfunction
172
172
173
173
function ! _VimuxHasRunner (index )
174
- return match (system (" tmux list-" ._VimuxRunnerType ()." s" ), a: index ." :" )
174
+ return match (system (" tmux list-" ._VimuxRunnerType ()." s -a " ), a: index ." :" )
175
175
endfunction
0 commit comments