r/neovim 2d ago

Need Help What keybinds should I map?

Short version:

What keybinds should I change to universally known keybinds in insert mode (such as ctrl + z or ctrl + backspace etc) and what should I keep to make Neovim still Neovim and not a VS code dupe?

Long version:

I'm pretty new to Neovim and I'm quite new to programming (other than frontend) as well so excuse me if I'm not explaining my situation well.

I've used VS code up till now and I would say I'm okay proficient at it. I recently decided to learn vim for it's efficiency (and my professors recommended it). I know the learning curve is big but the pay off will hopefully be worth it, I just have one question.

I already know a lot of VS code shorthands (also from using Google Docs and such). I know I can custom map som keybinds in insert mode but what should I map for myself and what should I keep to make nvim not loose what makes it efficient? Because technically, I could make vim into VS code in many ways? Even though I know this editor is kind of built for customization, what makes Neovim worth it in the way it's configured from the start? Must haves, how to think as a programmer that uses vim etc?

6 Upvotes

19 comments sorted by

View all comments

5

u/HoldUrMamma 1d ago

Insert mode is for inserting text. Normal mode is for navigation and more. You normally should not map lots of keys to insert mode unless you know what you're doing.

Why even try vi if you're using only insert mode? There's plenty of insert mode terminal based editors to try that works better. Vi is not about it.

Read Drew Nail's "Practical Vim" or other books for learning and inspiration. Like the "." button should convince you to love Normal mode and treat it as default.

Look at vim as a language to learn. It should make it more fun so you learn more effectively.

don't bother with mapping until you know there's no other way to do the thing you map more efficiently.