this post was submitted on 01 Jul 2023
52 points (100.0% liked)

Programming

13383 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Im considering spending some serious time learning one of the above. Two principle engineers I work with exclusively use them, and watching them work is incredible, the speed they move and get things done is pure wizadry. Can anyone learn this skill? For what it's worth, the alternative is learning VScode. I’ve exclusive used Android Studio in my career.

you are viewing a single comment's thread
view the rest of the comments
[–] Ninmi@sopuli.xyz 10 points 1 year ago* (last edited 1 year ago) (3 children)

I think anyone who does programming should at least give Neovim a good shot. Like, dedicate a few months to get a feel for the basic controls, use relative line numbers to jump to lines, f and F to jump to spots in lines, ciw ci" etc. to change stuff. If it's not your thing then fine, but learning Neovim is like switching from clicking file -> save to ctrl+s, but with everything.

You really don't need a mouse at all and in the end you'll get to make changes as fast as you can think. It's a language you speak through your keyboard to your editor and things just happen once you get fluent. E: checking if editing helps this thread federate better.

[–] crisisingot 4 points 1 year ago (1 children)

How different is neo vim from regular vim?

[–] neotecha 6 points 1 year ago

Neovim is a rewrite of the vim project. From a high level (or from the perspective of a beginner to both), there's not much difference between the two. That is, basic usage will be the same regardless of which ones you choose. Like, the model philosophy and default key bindings are basically identical.

You start seeing major differences with more advanced usage and under the hood.

  • Neovim is built to support async processing, while Vim is entirely synchronous

  • Neovim offers native Language Server support while Vim requires plugins to do so. (Language Server Protocol is part of what makes VSCode so powerful)

  • Vim plugins are written with a custom script called "vimscript" while Neovim plugins are written in Lua but also supports vimscript.

There are more differences, but this should cover the basic differences. I haven't used neovim in an age, so I'm up for any corrections if anyone has any

load more comments (1 replies)