Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't stop using IDEs like Clion with Vim key bindings. Clion offers one of the best Rust/C/C++ experiences that Vim, in my opinion, struggles to match.

I'd like to see stuff like this get ported, because this is a game changer.

Can Neovim be used in conjunction with an IDE? I'd like to use the text editing of Vim, but the AST and project navigation power of an IDE.



Neovim has a headless mode that lets you interact with it via a msgpack rpc. So it can act like an editing “backend”.

There are plenty of GUI IDEs that use Neovim as their backends like Oni. You can just google “Neovim GUI” and get a long list of them.


Onivim is no more :(


Source?



I haven't got very far into it yet, but there's a number of plugins which can nudge neovim towards IDE functionality.

The language server protocol understands the syntax of your language. There are also plugins for autocompletion, and a file tree for fast navigation.

Caveat - long term vim user just starting to dabble into this territory. Have got started with Telescope for fuzzy file search, and Nerdtree for file navigation.


I have been a long time looking for IDE with vim capabilities. Builder just improved its vi mode. Kate and Geany have one. The problem is that they are limited and beyond basic navigation/editing, the whole process of using the full potential of the IDE in vi mode is under documented and you are never really on how to use them effectively. And Onivim2 is not developped anymore. Even finding a simple text editor with a vi mode + mouse copy paste is painful. Gvim is sometimes weird and it is not clear how it handles copy pasting, the new gnome's Text Editor has a vim mode but it's kinda hidden IIRC. Oh and in Kate, I can't insert "g" in vim mode. I have to take time to report that bug some day.


I have a coworker who uses neovim with VS COde: https://marketplace.visualstudio.com/items?itemName=asvetlia...


I think the majority of the functionality in leap can be had in IntelliJ IDE's with the AceJump plugin


If you want vim-like editing in the Jetbrains IDEs you could use the IdeaVim plugin.


Speaking about jetbrains: is there a way to navigate like leap in resharper? I use the shortcuts extensively but this would definitely help avoiding cursor-navigate to the place where I want to be next.


If you're already using IdeaVim there's https://plugins.jetbrains.com/plugin/13360-ideavim-easymotio..., or AceJump (https://plugins.jetbrains.com/plugin/7086-acejump) if you're not, which is what the IdeaVim-EasyMotion leverages in any case.


IdeaVim is great, but it's a 90% solution. It misses some functionality and won't replicate plugins.

I'd like to use NeoVim headlessly and leverage the strengths of both systems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: