Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What can I do in VIM that I can't already do in Visual Studio? [closed]

I heard it takes 30 days minimum to get comfortable with vi. I'm on day 2 hehe. Right now, I seem to be merely memorizing different shortcuts for things I already did in Visual Studio (incremental search, prev/next word, etc.).

So far the most powerful aspect seems to be the numeric keys combined with commands (5 * next line), and the idea of normal/insert modes.

There are a few things I miss from Visual Studio. Ctrl-Click'ing the mouse for quick copy and pasting is probably the biggest.

So that I don't get discouraged, can you guys walk me through some things in vi that you do regularly that can't be done in Visual Studio? It'll help me focus on what to learn and help me develop better habits.

like image 201
djmc Avatar asked Jul 16 '10 20:07

djmc


People also ask

Is Vim better than Vscode?

Vim / Nvim are faster in a lot of aspects. Programmable. You can create scripts and functions to do awesome stuff! with VS Code, probably you will have to create a plugin or something. Using vimscript to process text feels as natural as using the editor.

Why is Vim so complicated?

Because it comes from this bygone era of software development—when programmers had to develop complicated solutions for computers with limited power and flexibility—Vim is hard. That something as seemingly simple as editing text can be made so complicated is anathema to the way we think about technology today.

Why do people still use Vim?

Vim was a visionary product at that time and remains highly relevant today because it remains true to what its users need most: a simple but powerful way to input and manipulate text. Vim listened to and understood what programmers needed and what key benefits were required to get the job done.


2 Answers

I'll just leave a link to this SO answer here.

like image 167
2 revs Avatar answered Oct 21 '22 00:10

2 revs


VI means never ever having to take you fingers off the keyboard.

like image 42
Jim Barrows Avatar answered Oct 20 '22 22:10

Jim Barrows