Git Product home page Git Product logo

Comments (7)

xaizek avatar xaizek commented on May 22, 2024

I confirm the issue, but it's not related to the plugin, even :!vifm doesn't work there:

:!vifm

Terminal error.
shell returned 1

I guess this comes from neovim handling spawned processes incorrectly (ioctl(0, TIOCGWINSZ, &ws) call fails) and seems to be an issue on their side (if they emulate terminal, then there is something wrong with the emulation). Not 100% sure about it, but everything works fine outside neovim... (Maybe there is an option to work around this behaviour, I don't know.)

from vifm.vim.

xaizek avatar xaizek commented on May 22, 2024

Yeah, one can't even run neovim from neovim:

:!./nvim

Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...

Vim: Finished.
 [?1049h [H [J [?2004h [?1004h [8;24;80t [H [J [1;1H [1;1H [34h [?25h [?25l [?1002h [?1006h [H [J [1;1H [2;1H [m  [94m~                                                                                [3;1H~
shell returned 1

from vifm.vim.

artur-shaik avatar artur-shaik commented on May 22, 2024

Ou yeah, just realized that is limitation in neovim. There are some issues about this. Here is one: neovim/neovim#1496.
And here workaround implemented for ranger: https://github.com/hut/ranger/issues/279. May be can be implemented for this plugin too?

from vifm.vim.

xaizek avatar xaizek commented on May 22, 2024

:-( that looks ugly... hope it's the only thing related to the plugin they broke there.

Thanks for the information, I'll try to make it work.

from vifm.vim.

artur-shaik avatar artur-shaik commented on May 22, 2024

That would be great.

And thanks, for vifm and plugin.

On 01-23 (04:16), xaizek wrote:

:-( that looks ugly... hope it's the only thing related to the plugin they
broke there.

Thanks for the information, I'll try to make it work.


Reply to this email directly or [1]view it on GitHub.

Reverse link: [2]unknown

References

Visible links

  1. #4 (comment)
  2. #4 (comment)

Best regards,
Artur Shaikhullin

from vifm.vim.

xaizek avatar xaizek commented on May 22, 2024

Should generally work now. At least one thing that's not working is error messages, they aren't printed from callback (once they got printed in a terminal... I didn't get why), don't see how to fix them, so leaving as is. One also might need to have 'hidden' option enabled or opening terminal will fail.

from vifm.vim.

artur-shaik avatar artur-shaik commented on May 22, 2024

Nice. It works as expected. Thank you.

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.