preservim / vimux

easily interact with tmux from vim
MIT License
2.2k stars 159 forks source link

doesn't work at all #98

Closed pinggit closed 7 years ago

pinggit commented 10 years ago

after i issue any command, nothing happened. no success, no errors, just like nothing happened....I'm running ubuntu12.04 and vim 7.4

benmills commented 10 years ago

Can you run :h vimux?

pinggit commented 10 years ago

yes I can. and I can then run the :call VimuxRunCommand("ls") but just nothing happen...

On Tue, Jan 21, 2014 at 6:25 PM, Ben Mills notifications@github.com wrote:

Can you run :h vimux?

— Reply to this email directly or view it on GitHubhttps://github.com/benmills/vimux/issues/98#issuecomment-32976238 .

pinggit commented 10 years ago

1: temp.txt

                                            < buffers
1 z427047@NYCMNY-VFTTP-303_RE0> request pfe execute target fpc0 command

[ "show jnh 0 pool detail" "show jnh 1 pool detail" ] | no-more 2 SENT: Ukern command: show jnh 0 pool detail 3 GOT: 4 GOT: Name PhysAddr Size by Type Used (%) Free (%) 5 GOT: Private Shared Reserved Expansion 6 GOT: 7 GOT: Next Hop 0x00000000 2097152 0 2097152 7072768 2023248 96% 73904 4% 8 GOT: 0xc0000000 40960 258048 0 0 208431 69% 90577 31% 9 GOT: 10 GOT: Firewall 0x00400000 2097152 0 2097152 7072768 36235 1% 2060917 99% 11 GOT: 0xc0000000 16384 258048 0 0 167692 61% 106740 39% 12 GOT: 13 GOT: Counters 0x00900000 1048576 0 0 0 47318 4% 1001258 96% 14 GOT: 0x00800000 1048576 0 0 0 107838 10% 940738 90% 15 GOT: 0x00a00000 3145728 0 0 0 455386 14% 2690342 86% 16 GOT: 0xc0000000 8192 0 0 0 3012 36% 5180 64% 17 GOT: 18 GOT: HASH 0x00000000 8590336 0 0 11267072 8590336 100% 0 0% 19 GOT: 20 ~ ~ ~ ~ NORMAL >> temp.txt

< text < utf-8[unix] <  25% :   5:  1  < ! trailing[1]

USAGE (2) VimuxUsage

The function VimuxRunCommand(command) is the core of Vimux. It will create a split pane in the current window and run the passed command in it.

  :call VimuxRunCommand("ls")

This will run the command in a split pane without losing focus of vim. If the command takes a long time to return you can continue to use vim while the process finishes and will see the output in the pane when it's finished.

Furthermore there are several handy commands all starting with 'Vimux':

                                    <<<  19% :  59:  1

:call VimuxRunCommand("ls")

On Tue, Jan 21, 2014 at 6:50 PM, ping song songpingemail@gmail.com wrote:

yes I can. and I can then run the :call VimuxRunCommand("ls") but just nothing happen...

On Tue, Jan 21, 2014 at 6:25 PM, Ben Mills notifications@github.comwrote:

Can you run :h vimux?

— Reply to this email directly or view it on GitHubhttps://github.com/benmills/vimux/issues/98#issuecomment-32976238 .

shaun-floss commented 10 years ago

Are there any updates to this issue? I'm experiencing the same thing, :h vimux works, but :call VimuxRunCommand("ls") doesn't seem to do anything...

benmills commented 10 years ago

It seems like this could be related to #100. @sambro are you also running ubuntu 12.04?

johnathanz commented 9 years ago

I have the same issue. Running it on OSX 10.9, MacVim homebrew (VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 15 2014 21:13:02)

running any of the Vimux commands simpy does nothing. :h vimux.txt works

shaun-floss commented 9 years ago

@benmills Sorry for the late response. Yes, I was/am using 12.04. I did end up getting it to work, unfortunately I'm not sure what I did to get it to work.

inside commented 9 years ago

I just installed vimux and ran :VimuxRunCommand('ls'), it opened a tmux pane and ran ls in it. FYI, you have to be running vim inside a tmux session.

@pinggit can you close this issue if you find its not relevant anymore?

leostera commented 7 years ago

Considering this is fairly old and virtually irreproducible, I'll close this issue. @pinggit feel free to reopen if you manage to reproduce 😃