Friday, December 17, 2010

vim quickfix and location list

Commands Description
copen open quickfix window
cclose close quickfix window
cwindow open quickfix window if its content is not empty.
   
cc [nr] display error [nr]
cr display the first error.
cfirst display the first error.
clast display the last error.
[count]cn display [count] next error
[count]cp display [count] previous error
[count]cnf display first error in the [count] next file
[count]cpf display first error in the [count] previous file

For commands related to location list, just replace first 'c' with 'l' in above commands.