Hacker News new | past | comments | ask | show | jobs | submit login

I have been transitioning my workflow from macOS to Linux. Discovered it’s kind of pain in the ass to get a gui based editor like Intellij to work correctly, especially within a VM.

Happened to have discovered neovim, and so far it’s been a delight to use. Much faster and much lighter on resource use.

Do any neovim veterans have recommendations on plugins to enable? Or even hidden features that would improve workflow.




> Discovered it’s kind of pain in the ass to get a gui based editor like Intellij to work correctly, especially within a VM.

Depending on your use-case, that's what their Gateway product <https://www.jetbrains.com/remote-development/gateway/> is designed to solve: it runs (effectively) headless IJ in the VM, so indexing and analysis happens there, and then streams the GUI part over a custom protocol to your local IJ to handle the time-sensitive GUI bits

Currently, to the best of my knowledge, they actually do require ssh, so it won't work over AWS SSM nor kubectl exec or similar, but I have high hopes they're going to fix that glaring bug Any Minute Now &trade;

see also:

- https://www.jetbrains.com/help/idea/remote.html

- https://jetbrains.github.io/projector-client/mkdocs/latest/i...

- https://github.com/JetBrains/projector-docker#run-jetbrains-...


But I still need to have the gui app installed correctly with opengl/hardware acceleration enabled , right?

My problem isn’t with inconsistent development environments. I have trouble spinning up the IntelliJ ide locally. Thus the need for something more lightweight.

Also I have used this in the past and the experience wasn’t the greatest. Tried with a dev server with gateway hosted within intranet. Used an m1 Mac as thin client.

Issues with syncing state of client. Significant input lag in a large project. I remember trying to refactor a method in a 500K+ LoC and the UI would hang.

Syncing plugins was also an issue at the time.

I suspect these issues would likely be exacerbated over internet with tailscale


There are many great plugins. Telescope, nvim-cmp, treesitter are standard recommendations.

I'll give a shout-out to conform.nvim that gives you very solid format on save functionality that's also easy to setup:

https://github.com/stevearc/conform.nvim


I usually recommend new users to check out Kickstart. It contains a set of plugins and nice to haves so you don't have to discover them your self.

All plugins are in one file + has a lot of comments to help you get started.

ref: https://github.com/nvim-lua/kickstart.nvim


Yep, I followed this recommendation, but when I was about to use Neovim in "production" I checked out LazyVim and AstroNVim and chose LazyVim by purely personal taste. Thanks to having learned how the config works with kickstart I don't feel lost, but still benefit from the big efforts and deep knowledge of the distro maintainers by assembling a sound full featured package.


I second Kickstart! The single-file and comments make it easy to learn and configure yourself.


This isn’t neovim specific but this was one of the more delightful and impactful discoveries https://shapeshed.com/vim-netrw/

Configuring netrw right and having my vimrc load a side pane with it on load, combined with configuring my tab key to cycle between windows... Perfect.


Btw, while I use Neovim myself and love it, Intellij Idea is available as a Flatpak, which should just work™

https://flathub.org/apps/com.jetbrains.IntelliJ-IDEA-Communi...


I'm doing the same on an old macbook. Off topic, but any idea on how you remap command + left/right? On a mac it is the equivalent of Home and End. I tried xmodmap but it doesn't seem to work with those types of combinations... but maybe I'm missing something obvious?




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

Search: