esamattis / slimux

SLIME inspired tmux integration plugin for Vim
http://esa-matti.suuronen.org/blog/2012/04/19/slimux-tmux-plugin-for-vim/
Other
217 stars 52 forks source link

using fish instead of bash causing problems #44

Open michaellindon opened 9 years ago

michaellindon commented 9 years ago

I've been using slimux for half a year now and I love it. Until recently I've been using bash as my default shell, but now I have really been enjoying fish (friendly interactive shell). I have found a problem whereby within a fish shell I start tmux, create two panes, open vim in the top pane and my repl in the bottom pane, I send the first line and hence select the bottom pane, but it appears in the top pane! The lines of vim get send back to vim and not to the repl!

If I repeat the above procedure from bash it works fine. Does anyone know what could cause this? Thanks :)

dvbuntu commented 9 years ago

Hmm, can you describe more of your environment? I just installed fish (cool shell by the way, I hadn't tried it before) and didn't see this behavior. I'm running ViM 7.4 on Arch Linux (technically in a chroot via chroagh). Does the problem still occur if you have bash as your default shell, but switch to fish (both for launching tmux and in the top pane when you launch vim)?

michaellindon commented 9 years ago

Fish is cool, especially with oh-my-fish :) I'm running fedora 22 with vim 7.4.827. I can confirm the problem does not arise when bash is my default shell but switch to fish prior to launching tmux.

sunaku commented 8 years ago

Try running :set shell=/bin/sh (or add it to your vimrc) before issuing any Slimux commands.

michaellindon commented 8 years ago

That worked :) thank you