Vy – A Vim-like in Python made from scratch

  • TKinter is a bit of a bizarre choice these days, it looks like you're locked into a non-shell non-native GUI for the benefit of being able to natively manipulate TKinter objects. Though, looking through the plugins it is nice to see how simple and isolated the code for each is.

    Lack of Python3 support is concerning as always with any modern Python project.

  • Makes an interesting comparison to kakoune (http://kakoune.org/), at nearly every point the two projects took the opposite decisions.

    I'm really not a fan of pip as a delivery mechanism though, if it isn't ready to be packaged properly then git clone and make instructions would be better.

  • Simply put: What does it offer which [neo]vim does not?

    > Python is such an amazing language; it turns vy such a powerful application because its plugin API is high level naturally.

    Ok, so you really like Python.

    > You can take the best out of vy with no need to learn some odd language like vimscript or emacs LISP; since vy is written in Python, you use Python to develop for it.

    Ok, so you _really_ like Python.

    I'd note that Vim also allows writing plugins in Python, so that alone doesn't warrant an entirely new editor. My biggest problem with this is that it doesn't explain what it provides which other editors do not. As such, I'd label this as the author thought "I love Python and want to make an editor which is all about Python, ignoring all existing Python-supporting editors and IDEs."

    That shouldn't be enough to get people using it, though. It's not ubiquotous, like Vim; it doesn't have the plugins and wholesome environment of Emacs; it doesn't have the comparable refactoring/debugging/project management features of modern Python IDEs; it doesn't even claim to provide anything new.

  • There's another one over here:

    https://github.com/jonathanslenders/pyvim

    I've used Vim for years but on cli only as one of many jobs, fzf pydoc grep find ssh etc etc. I don't quite understand the GUI approach but that's ok

  • See also https://github.com/yi-editor/yi in Haskell , which has vim keymap bindings

  • Projects like this make me wonder why all the for-profit IDEs can't implement better vi/emacs modes.

    edit: I'm thinking of IntelliJ and realizing I've not used other for-profit IDEs much.

  • > vy is built on top of Tkinter which is one of the most productive graphical toolkits

    I thought everyone always says it stinks and lacks better components.

  • Any users of it around? Does being in Python make it seem less responsive than regular Vim/Neovim?

  • Python and TK and a viable app? I'm impressed. Kudos to the author.

  • I have written a toy vi clone in python, based on curses, https://github.com/RealHacker/python-vi. That's nothing compared with Vy, which obviously is a much more serious project.

  • Seems to be python-focused, but looks really nice.

  • heh, you know... emacs is 'just' a wapper around a lisp interpreter in a similar fashion.

  • -EPARSE

    "Vim-like" is an adjective, so where the noun it's modifying?

  • awwwww... :( python 2.7

  • undefined