9 votes

Onivim 2 pre-alpha is out!

15 comments

  1. Apos
    Link
    https://github.com/onivim/oni2 The pre-alpha for Oni2 came out yesterday. Under the hood Oni2 is now built on top of libvim which aims to implement Vim in a purely functional library. Next...

    https://github.com/onivim/oni2

    The pre-alpha for Oni2 came out yesterday. Under the hood Oni2 is now built on top of libvim which aims to implement Vim in a purely functional library.

    Next milestone for the coming months will be to work on vscode extension integration.

    4 votes
  2. PopeRigby
    Link
    I'm using it right now. Very smooth and I really like the whole modal editing thing. I like the idea of Vim but I don't like how I have to have so many extensions to have it work how I want it to,...

    I'm using it right now. Very smooth and I really like the whole modal editing thing. I like the idea of Vim but I don't like how I have to have so many extensions to have it work how I want it to, this fixes that issue and has a great interface.

    1 vote
  3. [13]
    mrbig
    Link
    OniVim is cool, but I could not see enough advantages from regular Vim/Neovim to justify using it regularly. Also: Electron. It's a shame they're moving away from Neovim, it has a few niceties for...

    OniVim is cool, but I could not see enough advantages from regular Vim/Neovim to justify using it regularly. Also: Electron.

    It's a shame they're moving away from Neovim, it has a few niceties for the end-user. But what I'm hoping for is Neovim/Emacs. IDK if that's feasible, but being more easily embedded is one of the major goals of the project. Maybe the existence of Evil makes such a project less appealing.

    1 vote
    1. [12]
      Apos
      Link Parent
      What did you mean by the Electron link? The advantage with Oni2 is that it will be compatible with vscode extensions which is a massive plus. The logic with moving away from Neovim makes sense....

      What did you mean by the Electron link?

      The advantage with Oni2 is that it will be compatible with vscode extensions which is a massive plus.

      The logic with moving away from Neovim makes sense. You can read more about it here: https://www.patreon.com/posts/onivim-2-update-27614608. tbh, I wouldn't be surprised if long term, Neovim's foundation gets refactored to work more like that.

      2 votes
      1. [2]
        Deimos
        Link Parent
        Onivim used to use Electron. It doesn't any more in version 2, it's using Revery now instead. (@mrbig)

        Onivim used to use Electron. It doesn't any more in version 2, it's using Revery now instead. (@mrbig)

        5 votes
        1. mrbig
          Link Parent
          Cool... that link I shared (which I assumed was current) mentioned Revery for prototyping, not for version 2, though.

          Cool... that link I shared (which I assumed was current) mentioned Revery for prototyping, not for version 2, though.

          1 vote
      2. [2]
        mrbig
        (edited )
        Link Parent
        I avoid Electron apps because, in my experience, even when they're not excruciatingly slow, they use a lot more memory than I think is reasonable and are noticeable more sluggish than similar...

        What did you mean by the Electron link?

        I avoid Electron apps because, in my experience, even when they're not excruciatingly slow, they use a lot more memory than I think is reasonable and are noticeable more sluggish than similar programs made with other toolkits. My laptop is not powerful and I have high demands when it comes to responsiveness.

        I realize the irony of this coming from an Emacs user, but: yes, Emacs uses a lot of memory. The difference is that it gives a lot in return. With the exception of Google Chrome, and terminal with tmux, I do almost everything inside it. Thinks like:

        So I don't mind sparing 100MB in it. It is also fast, something no Electron app really is.

        On the downside, Emacs is not really asynchronous for larger tasks. But this only bothers me when I need to update, install packages, etc. And that's not something I do when I'm working. Besides, I have all my configurations in Org Made, it takes exactly (just measured) 0.118001 seconds to tangle all the files and reload the changes!

        2 votes
        1. Apos
          Link Parent
          Yeah, that's what I feel with vscode since it uses Electron. A lot of the time it's fine, but other times I notice issues that come from it's Electron side. I use vscode with the vim extension. It...

          Yeah, that's what I feel with vscode since it uses Electron. A lot of the time it's fine, but other times I notice issues that come from it's Electron side. I use vscode with the vim extension. It works well most of the time.

          Oni2 won't use Electron and it has the Vim experience out of the box. Makes for a dream editor from my point of view.

          3 votes
      3. [7]
        mrbig
        (edited )
        Link Parent
        I do not use VS Code, so that's largely inconsequential to me. I'm way too invested in the Emacs ecosystem and mostly satisfied, so I cannot imagine being away from it. Even if VS Code has some...

        The advantage with Oni2 is that it will be compatible with VS Code extensions which is a massive plus

        I do not use VS Code, so that's largely inconsequential to me. I'm way too invested in the Emacs ecosystem and mostly satisfied, so I cannot imagine being away from it.

        Even if VS Code has some superior plugins, being able to interactively code and tweak my own platform in the most practical way while using it with everything but a tiny core exposed and self-documented is hard to give up.

        Okay, I will not enter I-love-Emacs-rant-mode. I promise.

        The logic with moving away from Neovim makes sense

        I was aware of the reasons for ditching Neovim, and AFAIK they seem very reasonable. I should have made myself clearer. But I did say it had "a few niceties for the end-user", which is frequently different from a developer point of view.

        1 vote
        1. [6]
          Apos
          Link Parent
          If you have specifics in mind, drop them in the Oni2 issue tracker: https://github.com/onivim/oni2/issues It's really useful to hear about everyone's favorite features.

          If you have specifics in mind, drop them in the Oni2 issue tracker: https://github.com/onivim/oni2/issues

          It's really useful to hear about everyone's favorite features.

          2 votes
          1. [5]
            mrbig
            Link Parent
            I'm afraid most of my issues would be some form of "please make it more like Emacs" lol. But I'll give it a shot.

            I'm afraid most of my issues would be some form of "please make it more like Emacs" lol. But I'll give it a shot.

            1. [4]
              Apos
              Link Parent
              Well, depending what it is, you can also discuss some ideas in the Discord. Since you come from Emacs though, there might be ideas people aren't thinking about which is valuable.

              Well, depending what it is, you can also discuss some ideas in the Discord. Since you come from Emacs though, there might be ideas people aren't thinking about which is valuable.

              2 votes
              1. mrbig
                Link Parent
                Okay! Replace Vimscript with Elisp! (just kidding hahaha).

                Okay! Replace Vimscript with Elisp! (just kidding hahaha).

                1 vote
              2. [2]
                mrbig
                Link Parent
                So that release is just for backers, right? Will it ever be free in an easy (maybe delayed) form? Not that I wouldn't build it from source, I'd just like to know.

                So that release is just for backers, right? Will it ever be free in an easy (maybe delayed) form? Not that I wouldn't build it from source, I'd just like to know.

                1. Apos
                  Link Parent
                  Apparently, releases are currently in a testing phase. When they are better, they should be made available for non backers. Edit: Looking at the timeline, downloads for everyone is planned for...

                  Apparently, releases are currently in a testing phase. When they are better, they should be made available for non backers.

                  Edit: Looking at the timeline, downloads for everyone is planned for April 2020.

                  1 vote