Later, after graduating from college, my job was to program on embedded systems or write services on linux servers, mainly in C language. I don't need an IDE, and I don't need what I learned before. The functions that IDE can realize can basically be realized by command line +Vim. I gradually changed myself in communication with others. The Windows garbage I exported, IDE scum, using IDE is basically a low-end symbol. At that time, the thought was so extreme that I used C language, even C++, let alone JAVA or C#, so the IDE further alienated in my world and began to actively despise the IDE. At that time, when I arrived at a new computer, I always maximized the command line window or simply cut off the text terminal. When others see it, they always look at me with admiration, and I am also complacent. Actually, I didn't do it under the command line.
Later, I became more and more busy with my work and wrote more and more codes. Vim is necessary for work reasons, because many projects are compiled by command line, and there are many traces of Vim editing. In order to work faster and more conveniently, Vim is used more and better, and I gradually find that Vim is really easy to use, very easy to use. At this time, I can really say that Vim has really improved my work efficiency. At this time, one thing changed my mind. There is a person who also loves the command line and vim colleagues, but his job is JAVA. When browsing the code, a person can jump to the class definition only by using Ctrl+ mouse, but he still needs to use grep, find keywords, open them with Vim, and then modify them. I began to understand his behavior. I began to change my view of IDE. I used the right tools in the right situation. Finally, interestingly, vim Daren finally chose to leave because the company asked him to engage in Java for a long time and went to a well-known router company to be the bottom layer. When I heard this, I was actually quite happy.
Now, I started to do iOS programming, which means I changed my industry. At this time, even if Vim is getting faster and faster, it can't complete what Xcode can do, from project creation, automatic addition of required libraries, automatic typo of codes, and finally packaging, signing and uploading. Some people will retort that these can actually be done through the command line in MAC OS X. What I want to say is, what if I can? Where can the App you wrote on the command line rank in the overall list? On the other hand, I am now an XCode+XVim plug-in. When writing programs, I am still used to using Xcode functions when doing other things. Isn't this the best of both worlds and extremely efficient? Now I don't want to participate in any jihad between Vim and IDE. I am still interested in discussing how to make an app or game top 10.
Summary:
In retrospect, if a person is always saying that Vim or Emacs are scum, don't blame him. Let's see what he did first. If he is a linux kernel, what IDE can he use? You can totally despise him. If he contributes xx lines of code to open source and xx lines of code to linux, Niu always has good reason, and paranoia can change the world. However, if he is working on a framework or Java, C# or something, is he tossing himself with Vim and Emacs? Let's see what he did with tools. In fact, these are all tools. What's more important is that you can support yourself and even help others with tools and make contributions to the world? When I was young, it was normal to use my appearance, my tools, Vim and Emacs to prove that I was awesome, because I was still young and not enough to prove it with those real things.
Finally:
If I have to choose Vim or IDE to prove myself, of course I am willing to use Vim. Because Vim is my favorite model, but if others prove themselves with IDE, I will applaud, because they have already proved it. Is it important to use it?
Published in comments on 2013-12-0719.
agree
19
Objection. Your name will not be displayed.
Uncle Chen, "Vim user". "Linux enthusiast". "GFW audience"
Zhihu users Zhao Wenbo, ccoder and others agree with this.
Popular science:
In 1.vim, deleting one line is dd, and deleting one hundred lines is 100dd, without entering any command line. Unless you don't use the vim of our world.
2. There is a program called make, which can be compiled (or automatically generated by some tools) as long as the compilation rules are written in a file called makefile, and you don't need to input many compilation commands. As long as you bind a shortcut key in vim, you can compile with one click like vs, and there is also something called nmake in VS, which is used to do similar things. You can find it in the vs installation directory. My vim configuration specifically binds F5 with a function to realize one-click operation, and I will judge what to do by the file type. Call python if it is a python script, /bin/bash if it is a shell script, browser if it is html, and gcc if it is compiled and run in C. I really don't know why I need to enter a command.
Tell me why I use vim:
1. I'm not a java programmer or a c# programmer, so I don't need vs or eclipse.
2. As many people have said above, ssh is connected to a linux server, and I really don't know what other editors are useful except vim or emacs.
3. I am lazy. You don't have to do nothing. Lie on the chair (that angle is really lying), put your hands lazily on the keyboard, just tap your fingers gently, and don't move your elbows from beginning to end.
PS: As a vim lover, I never despise using IDE. I only despise using IE.
Edited comment 20 13-08-20 9
agree
388
Objection. Your name will not be displayed.
In the morning, you chose your own life path.
Zhou, Zhou, Bentes, a dragoon, and others agreed.
Practicality is a good thing, but it often loses the convenience of solving complex problems.
For example, when processing data, I also use Excel for simplicity, but I need it. When you encounter sorting and repetition of specific requirements, you must rack your brains and check the function manual for half a day. I might as well write a bash script or python next time. Although they are expensive to get started, they can help me avoid many limitations of Excel in the future.