Tip #203: Make make more helpful
tip karma |
Rating 61/19, Viewed by 1985
|
created: |
|
January 27, 2002 6:34 |
|
complexity: |
|
basic |
author: |
|
Padraic Renaghan |
|
as of Vim: |
|
6.0 |
I find this a very useful command to use.
Add the below 4 lines to your vimrc.
Then instead of "make" use "Make".
" Command Make will call make and then cwindow which
" opens a 3 line error window if any errors are found.
" if no errors, it closes any open cwindow.
:command -nargs=* Make make <args> | cwindow 3
<<debugging window autocommands |
Some mappings for using cscope with vim. >>
Additional Notes
|