Git Product home page Git Product logo

Comments (2)

xaizek avatar xaizek commented on May 22, 2024

You shouldn't need quotes if you use -x option, which takes the rest of command-line as a command (according to this).

The second issue you faced is that terminal detaches/forks from its parent leaving it without a way to track child's lifetime (hence the plugin reads output file right away, when it doesn't exist). Try adding --disable-factory option, like this:

let g:vifm_term = 'gnome-terminal --disable-factory -x'

If it doesn't work, I'm not sure how to proceed (by the way, looks like it worked years ago). I don't have GNOME and can't check it myself.

UPD (2016.01.16): yeah, they broke it intentionally and are not going to fix, see. Not sure how to synchronize plugin with vifm then and honestly I don't think it's worth it (I mean working around strange decisions of those people). The best advice I can give is do not use gnome-terminal. Who knows what else they will break next... That said, ideas are welcome, I just can't think of a feasible solution for this case.
UPD (2016.11.06): maybe creating a named pipe and reading from it until EOF will work as a workaround (didn't try it).

from vifm.vim.

omrihar avatar omrihar commented on May 22, 2024

Hi @xaizek, thanks for your reply!

I tried using the command you suggested. When I use the -x option, vifm opens but I immediately face the second issue. If I try to use --disable-factory in conjunction with -x, however, it fails again with the original error message (Got non zero exit code from vifm).

In the meantime I installed xterm and configured it to be more or less as I like it so it's not very pressing for me, but I think that for the rest of the community this might be relevant since when installing gnome-shell you by default only get gnome-terminal. (I'm running on Arch linux).

from vifm.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.