Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Small note: vim has a :make command built in, you don't even need the ! (which, for those who don't use vim, executes a command on the terminal). And I just found ctrl-v a couple weeks ago and now I use it constantly, it's incredibly useful. Commented Nov 11, 2011 at 15:29
  • @Kevin - ok i didn't knew about <code>:make</code>! This was exciting to know. This is a kind of romance you get with VIM - one cannot ever make a full list of features that VIM can ever let you do!! It always keeps surprising you. Thanks. Commented Nov 11, 2011 at 15:58
  • Yeah, it's great like that. The advantage of :make is that it automatically moves you to the first error, and you can navigate them with cn and cp, see :help make. I actually didn't realize that until I looked it up; I usually make in a different window and pwd, it seems you have to be in the same one as the Makefile, though you could put one in the src directory just to move to the root and make there. Commented Nov 11, 2011 at 16:19