Vim is a highly configurable text editor built to enable efficient editing. It is an improved version of the vi editor distributed with most UNIX systems.

learn more… | top users | synonyms

10
votes
3answers
1k views

Is it possible to compile a higher level language to readable C++? [closed]

C++ is a great language in many ways, but some things in particular are cumbersome to write without an IDE. As a VIM user, it would be very interesting if I had access to a higher level language which ...
0
votes
3answers
4k views

IDE vs. Text Editor [duplicate]

I know this has been asked..but I cant find a clear answer. Many advanced programmers prefer text editors, but for me IDE's make things much faster. I've been using eclipse for a year and using a text ...
1
vote
4answers
243 views

best way to do the compile and check cycle

I am trying to learn lua and am experimenting on my linux machine. I am not a programmer, so I am looking for your help to give me some suggestions. What I want to accomplish is making my ...
0
votes
7answers
1k views

Code Generation and IDE vs writing per Hand

I have been programming for about a year now. Pretty soon I realized that I need a great Tool for writing code and learned Vim. I was happy with C and Ruby and never liked the idea of an IDE. Which ...
16
votes
5answers
5k views

Using Vim when coding a large-scale application

I'm starting to learn Vim, and following some of the advices given here in stackexchange. I'm beginning to use it in some toy projects and I'm cool with that. But I started to wonder how you can be ...
8
votes
7answers
10k views

C/C++ Best indentation length? [closed]

I was reading a Vim tutorial ( http://www.oualline.com/vim-cook.html#drawing ), and came across this: This is very useful if you use a 4 space indentation for your C or C++ programs. (Studies at ...
8
votes
3answers
3k views

Is there a way to automatically un-tab everything in your source file by using a command? [closed]

And then to automatically re-indent after that? I've tried copying code from one terminal screen to the other, but the tabulation got all messed up. I didn't know what to call this functionality, so ...
2
votes
4answers
864 views

Intermediate to advanced book for improving VIM knowledge and understanding [closed]

I use vim already for quite a while and every day try to learn new things. But, somehow I yet don't feel that I own it. I'm looking for some intermediate to advanced books on vim which may be used as ...
2
votes
3answers
799 views

Is it possible to have an effective VIM environment for both C++ and Python?

I have recently moved to a VIM environment for Python development. I learned the setup from John Anderson's outstanding web page on the subject. I am about to try and set up another VIM environment ...
3
votes
9answers
584 views

How frequently do you switch mode? [closed]

I tried VIM and liked it but something stopped from using it: I had to type ESC to often, very often, something like each 5 seconds, and it was highly uncomfortable, so I stopped using it as a primary ...
2
votes
2answers
2k views

SQL Auto Formatting and Auto Capatilize in Vim

I'd like to use vim for writing SQL queries, but I haven't figured out yet how to get two key features that I use all the time in programs like SQL Yog. I usually just start up an instance of Yog in ...
36
votes
12answers
20k views

Must a programmer learn text editors like Emacs and Vim? How important are they? [duplicate]

I have been writing code so far in conventional text editors that come with the OS so far or use an IDE in some cases. I know there are some advanced text editors like Emacs and Vim available solely ...
16
votes
5answers
7k views

Are Vim or Emacs practical for languages like .Net or Java? [closed]

So, I am primarily a .Net developer who does some stuff in Java, Python and a few others from time to time. I have heard a lot of people praise Vim and Emacs for greatly increasing efficiency once the ...
5
votes
3answers
2k views

What are safe keys to remap in vim?

So far I've been trying to use Vim in as vanilla a configuration as possible, so as to save myself hassle when moving between machines. However, there are a few things I'd really like to bind keys, ...
12
votes
7answers
2k views

Emacs and “self-reinforcing performance”

In short, my question for you hardcore Emacs users is this: have you achieved this "self-reinforcing performance" Steve Yegge talks about? Emacs is self-hosting: writing things in it makes the ...
2
votes
2answers
779 views

Highlight global variable in vim (or any other free editor)

In Source Insight, global variable show up in a different colour. Is there a way to accomplish this in vi (or any other free editor)?
26
votes
16answers
16k views

I use an IDE (Eclipse) to develop software. Why should I switch to vim or emacs? [closed]

My day job is java/web developer. I have been using eclipse for ~5years. I think its excellent and I also use Webstorm for javascript and html/jsp. I do on occasion need to ssh into server and ...