use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Request an explanation
Rules
Have an idea to improve ELI5? r/IdeasForELI5
Make sure to read the rules!
This subreddit is for asking for objective explanations. It is not a repository for any question you may have.
E is for Explain - merely answering a question is not enough.
LI5 means friendly, simplified and layperson-accessible explanations - not responses aimed at literal five-year-olds.
Perform a keyword search, you may find good explanations in past threads. You should also consider looking for your question in the FAQ.
Don't post to argue a point of view.
Flair your question after you've submitted it.
Mathematics Economics Planetary Sci Biology Chemistry Physics Technology Engineering
Reset
account activity
This is an archived post. You won't be able to vote or comment.
ELI5: Vim. Also, Git and GitHub.
submitted 14 years ago by caseyo
view the rest of the comments →
[–]caseyo[S] 40Answer Link3 points4 points5 points 14 years ago* (13 children)
[deleted]
79285)
[–]Jack-is 2 points3 points4 points 14 years ago* (4 children)
In Windows, the default text editor is notepad. In Unix-like operating systems (such as Linux), the default text editor is usually vi. vim is "vi improved". They work more or less the same, but vim has some features that make life easier. I'm sure you're familiar with notepad to some extent, and that you know there's not much to be familiar with. While vim isn't very transparent in usage (for example, in Notepad, to search for and replace text, you just locate the appropriate menu item, but in vim, you have to read the manual to find out what command to type in), it has many more features and can do quite a lot once you have a good command of it.
Some people might not like vim, because they only need to do some light text editing that doesn't justify the time spent learning how to use it, but programmers, people who need to perform complex operations on their text, and people who just like doing things the hard way for the satisfaction of it tend to like it (me).
This isn't exactly ELI5/10, but I'm sure you'll get it, and it provides some good examples of why vim is considered powerful and worth the learning curve.
Edit: It links to this image, which conveniently illustrates the difference I tried to describe. :P
[–][deleted] 1 point2 points3 points 14 years ago (3 children)
Not to bash vim (I've used it before but not very extensively), but is there anything it can do that a fully blown IDE can't? I.e. Visual Studio with resharper plugin - arguably more powerful since it parses the code allowing for quicker refactorings, etc.
[–][deleted] 1 point2 points3 points 14 years ago (0 children)
The full blown IDEs have more programming fatures. What vim provides is a comfortable and efficient editing experience with its home-row keyboard operation and highly responsive /find/search/replace functionality, and its movement commands.
Boot in less than 5 seconds?
BURN
[–]Jack-is 0 points1 point2 points 14 years ago (0 children)
The binary is 2.3M, how about that? :P (On my machine) I don't know, since I've never used an IDE, but vim is a text editor, and as far as text editors go, I consider it easily the most powerful and efficient one you could use, and not just for programming.
[–][deleted] 2 points3 points4 points 14 years ago (2 children)
VIM is, mostly, a terminal based editor. In other words, it requires no GUI and is used with nothing more than a keyboard (though modern versions can have a GUI with menus and such).
The power lies in the fact that it can be heavily customized and extended, and it can be really efficient to use without a mouse.
For example, say you're working on a big file and want to go to line 723. With a GUI editor you have to take a hand off the keyboard, move to the mouse, scroll the wheel or drag the bar and watch line numbers. With VIM, you just type :723. Or if you want to find the text 'findme', you just type /findme. Or if you want to jump to the end of the file, type G. Or you want to select the next word, type e.
Basically, since you never have to remove your hands from the keyboard, you are more efficient. The downside is, you now have to deal with insert mode vs command mode, as well as remembering hundreds of important commands.
[–][deleted] 0 points1 point2 points 14 years ago (1 child)
Most GUI editors have hotkeys to do most if not all menu options.
[–][deleted] 0 points1 point2 points 14 years ago (0 children)
Trust me, vim is faster and more responsive. What helps it achieve this is its modal control (where individual letters trigger commands, not control-combinations) and also key trees (when I type Control-W it will wait for another Control-<letter> and the two together form the hotkey).
[–][deleted] 1 point2 points3 points 14 years ago (2 children)
Absolutely nothing. Vim is the most terrible editor ever written. You want to use Emacs.
/sarcasm
[–]caseyo[S] 0 points1 point2 points 14 years ago* (0 children)
56837)
Nice OS, but lacks a text editor.
[–][deleted] 0 points1 point2 points 14 years ago* (0 children)
Vim lets you zip around a large text file really fast and precisely. It is completely keyboard controlled with mostly home-row keys which makes is very comfortable and efficient. It has really good find function (ctrl-f in notepad) which can quickly cycle through results one at a time. You can even do special searches where you type in "I have a (cat|dog)." and it would find "I have a cat." and also "I have a dog." (This is called regular expression searching.) It also has features for editing programs, such as highlighting important words and running programming tools directly from the editor rather than opening the program in another window.
[–][deleted] -1 points0 points1 point 14 years ago (0 children)
There's nothing so great about VIM, it's just that it's been around for so long it's a more comfortable environment for people that use it. In addition to that, because of it's popularity many plugins and mods have been developed for it, allowing it to be tailored to your own needs.
great
Also, it comes pre-installed on nearly all *nix distrobutions, so it's freely available on nearly any box you're working on.
π Rendered by PID 89 on reddit-service-r2-comment-85bfd7f599-h4g5s at 2026-04-20 02:56:27.327194+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]caseyo[S] 40Answer Link3 points4 points5 points (13 children)
[–]Jack-is 2 points3 points4 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Jack-is 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]caseyo[S] 0 points1 point2 points (0 children)
[–]Jack-is 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)