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
Post a Comment