christoomey / vim-tmux-runner

Vim and tmux, sittin' in a tree...
MIT License
292 stars 36 forks source link

Fish shell #51

Open ghost opened 9 years ago

ghost commented 9 years ago

Is fish shell supported?

christoomey commented 9 years ago

Hi @petermehle, I've not used the Fish shell myself so I can't say for certain, but all the shell code used is pretty standard and I would expect it work just fine. Please do report back if you hit any issues, but I expect it should work without any alterations.

ghost commented 9 years ago

That's why I am asking, because it does not work. It is hard to say what is wrong, because there are random messages all the time. For starters, VtrSendCommandToRunner opens the pane and then asks for the command. This is ok, but after you enter the command, it looks like only 'return' is send to the pane and nothing happens. If you kill the pane and then try again, you get "^Lnode" to the pane.

I see that you use '&&' in the code. Fish does not support &&, || and !. You can see in its docs (http://fishshell.com/docs/current/tutorial.html#tut_combiners).

It is funny because Vimux has exactly the same problems, thats why I tried vim-tmux-runner.

bartj3 commented 9 years ago

Not sure if I did anything weird with my tmux setup but I started using fish last week without any problems (ok not true, but no problems with vim-tmux-runner)