Permalink
Browse files

Fix window completion.

  • Loading branch information...
1 parent b32d0b5 commit 7d296292930ee6d7f32315a70d7f152702385eb4 @cc0ut cc0ut committed Oct 30, 2010
Showing with 4 additions and 7 deletions.
  1. +3 −6 README
  2. +1 −1 tslime.vim
View
9 README
@@ -9,9 +9,6 @@ but use tmux instead of screen.
However, compared to tmux, screen doesn't have the notion of panes. So, the
script was adapt to take panes into account.
-For now, you need to have tmux build from cvs if you want to paste to a
-specified pane since the current version (1.2) doesn't support it.
-
-If you can't / don't want to build from source, you can use the stable branch.
-The version available in that branch isn't aware of panes so it will paste to
-pane 0 of the window.
+If you use version of tmux < 1.3 , you should use the stable branch. The version
+available in that branch isn't aware of panes so it will paste to pane 0 of the
+window.
View
@@ -26,7 +26,7 @@ function! Tmux_Session_Names(A,L,P)
endfunction
function! Tmux_Window_Names(A,L,P)
- return system("tmux list-windows -t" . b:tmux_sessionname . ' | sed -e "s/ \[[0-9x]*\]$//"')
+ return system("tmux list-windows -t" . b:tmux_sessionname . ' | grep -e "^\w:" | sed -e "s/ \[[0-9x]*\]$//"')
endfunction
function! Tmux_Pane_Numbers(A,L,P)

0 comments on commit 7d29629

Please sign in to comment.