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.
Questions tagged [vim]
15 questions
43
votes
12 answers
Must a programmer learn text editors like Emacs and Vim? How important are they?
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 for the purpose of coders. How important are they…
user22662
34
votes
16 answers
I use an IDE (Eclipse) to develop software. Why should I switch to vim or emacs?
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 mess around with config files; for this I use vi and…

NimChimpsky
- 4,627
- 4
- 26
- 39
30
votes
16 answers
Most useful features of VIM that aren't standard in a IDE
I'm considering whether I should start using VIM again instead of an IDE. What are the most useful features of VIM that aren't standard in an IDE?

Casebash
- 7,662
- 5
- 41
- 62
19
votes
6 answers
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 productive without opening other files all the time…

mati
- 311
- 1
- 2
- 7
18
votes
5 answers
Are Vim or Emacs practical for languages like .Net or Java?
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 basics are nailed down. I can definitely see how…

Morgan Herlocker
- 12,722
- 8
- 47
- 78
16
votes
6 answers
Vim key mappings / plugin XCode?
I'm a developer who mostly does web stuff in ruby and C#.
I'd like to start tinkering with iOS and Mac development.
Over the last few month i've been trying to get fluent in one set of key bindings (vi / vim because it just feels right).
I have the…

Daniel Upton
- 987
- 8
- 15
15
votes
7 answers
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 environment itself
more powerful. It's a feedback…

dorserg
- 316
- 2
- 8
12
votes
3 answers
Is it possible to compile a higher level language to readable C++?
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 enabled me to write C++ with S-Expressions and…

MaiaVictor
- 5,820
- 7
- 27
- 45
11
votes
3 answers
Is there a way to automatically un-tab everything in your source file by using a command?
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 it was hard for me to find it on google (which…

Dark Templar
- 6,223
- 16
- 46
- 46
8
votes
4 answers
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, such as to shorten "_diwP which I use often to…

Weeble
- 243
- 2
- 5
3
votes
3 answers
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 for C++. Is this even possible to do…

Pete
- 736
- 4
- 17
3
votes
9 answers
How frequently do you switch mode?
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 text editor (now I use emacs, nice for…

BenjaminB
- 1,706
- 1
- 12
- 15
3
votes
2 answers
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)?

hojusaram
- 133
- 4
2
votes
2 answers
How to auto-format and auto-capitalize SQL in Vim
I'd like to use vim to write SQL queries, but haven't figured out how to get two key features that I use all the time in programs like SQL Yog.
I usually start an instance of Yog in the background, cut-and-paste my SQL into it, hit F12 which…

dvanaria
- 615
- 6
- 8
1
vote
4 answers
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 compile-rewrite-recompile cycle as efficient as…

awayand
- 11
- 1