Skip to main content

Questions tagged [vim]

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.

Filter by
Sorted by
Tagged with
12 votes
3 answers
2k 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 ...
MaiaVictor's user avatar
  • 5,850
1 vote
4 answers
290 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 compile-...
awayand's user avatar
  • 11
20 votes
6 answers
13k 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 ...
mati's user avatar
  • 321
11 votes
3 answers
8k 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 ...
Dark Templar's user avatar
  • 6,313
3 votes
3 answers
1k 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 ...
Pete's user avatar
  • 736
3 votes
9 answers
801 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 ...
BenjaminB's user avatar
  • 1,706
16 votes
6 answers
9k views

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 (...
Daniel Upton's user avatar
  • 1,007
2 votes
2 answers
7k views

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, ...
dvanaria's user avatar
  • 605
43 votes
12 answers
36k 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 ...
user avatar
18 votes
5 answers
11k 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 ...
user avatar
8 votes
4 answers
6k 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, ...
Weeble's user avatar
  • 243
15 votes
7 answers
3k 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 ...
dorserg's user avatar
  • 316
3 votes
2 answers
2k 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)?
hojusaram's user avatar
  • 133
34 votes
16 answers
41k 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 ...
30 votes
16 answers
5k views

Most useful features of VIM that aren't standard in a IDE [closed]

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?