vim quickfix avoid buffer change -


I am using vimgrep to open search results cw quickfix buffer I select a line in the quickfix list, the cursor changes the new file buffer. How do I avoid this and keep my cursor forever in the quickfix list?

assuming that you & lt; CR & gt; to "select a row in the quickfix list", you can simply & lt; CR & gt; in the quick fix window so that you come

make sure that you have on the file type plugin indent and below ~ / .vim / ftplugin / Qf.vim :

nnoremap & lt; Buffer & gt; & Lt; CR & gt; & Lt; CR & gt; & Lt; CW & gt; P

Comments

Popular posts from this blog

python - rpy2 import is not working -

javascript - How to get MySQL query result returned using $.ajax -

javascript - How to use the code plugin with popcornjs -