slimux icon indicating copy to clipboard operation
slimux copied to clipboard

using fish instead of bash causing problems

Open michaellindon opened this issue 9 years ago • 4 comments

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 :)

michaellindon avatar Sep 08 '15 13:09 michaellindon

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)?

dvbuntu avatar Sep 09 '15 00:09 dvbuntu

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.

michaellindon avatar Sep 13 '15 15:09 michaellindon

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

sunaku avatar May 19 '16 22:05 sunaku

That worked :) thank you

michaellindon avatar May 26 '16 14:05 michaellindon