I always open three windows when writing C code as follows:
|
| 2
1 |_____
|
| 3
|
Window 1 is used to write code, window 2 is used for cscope, and window 3 is used for quick reference in the header file.
When I click in the cscope window to display the source, I want Emacs to always display .c files in window 1, and .h files in window 3, is there any possible solution?
Thank you very much for your response.
source
share