Questions tagged [quickfix]

Questions about the usage of quickfix commands and quickfix windows.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
140 views

How can I display multiple lines in the same compiler error when using :cn?

I am using Vim for Rust development. I have a custom error format that works very well, except that newline characters in error messages are suppressed when scrolling through errors with :cn. This ...
3
votes
0answers
54 views

How to synchronize between NORMAL and Quickfix window?

:vimgrep can list search result in the Quickfix window. :cn can jump to next matching and NORMAL window is also updated. If switch to NORMAL window and n, it will jump to next matching place, but ...
2
votes
0answers
52 views

How to search the output of vim command line commands like `:ls`, `:browse oldfiles`

Back from emacs recently, in emacs I can list all the existing buffers in a emacs buffer, where I can do search, delete or jumping etc. In Vim, if I type :browse oldfiles, a long list may be returned ...
2
votes
0answers
40 views

How can I make 'lnext' run 'lfirst' if it needs to be?

I use ALE for finding syntax errors in code in vim, which populates the loclist with any errors found. However, when I first open a file with errors, which populates that list (I have g:...
2
votes
0answers
142 views

Quickfix go to next error of specific type

I am starting to use quickfix to handle my latex compilation process. I found the vim-latex package (https://github.com/vim-latex/vim-latex) but I am only interested in the quickfix part, and I want ...
1
vote
0answers
24 views

Quickfix mode with path transformation

I have a build log file from compiling a project with Visual Studio on a Windows machine, and would like to use quickfix mode to jump to the errors and warnings in that logfile. The logfile is read ...
1
vote
0answers
160 views

Add conceal in function

Trying to maintain add conceals to the generated location list, but I can not figure it out. The current workaround is to add it manually everytime through the vim commandline, like: : set ...
1
vote
0answers
69 views

How to write to a temproary buffer in a plugin

I've started to write my first vim plugin, a simple timer. I want to be able to set a timer for an arbitrary amount of time, and have it notify me once that time has passed. I've got it all working, ...
1
vote
0answers
272 views

Quickfix list displays each line of log file

I'm trying vimtex. Probably I haven't read the docs well enough, but in my system (linux ubuntu 14.04.4 LTS, gvim 7.4) the quickfix list is populated with every single line of the log file when ...
1
vote
0answers
123 views

How do I remove duplicate quickfix messages?

I have a rather annoying case of duplicate messages being displayed whenever I go put my cursor on a line. Whenever my cursor lands on the line, a message like [Error]not found: type Playfield is ...
1
vote
0answers
324 views

How to keep results of grep open while saving?

When I get the results of a search (whether via :cw or the Ack.vim plugin), it goes into the quickfix window. I then open the file by hitting enter, make changes, and save the file. The quickfix ...
1
vote
0answers
23 views

Correct way to add “context” attribute to an existing quickfix list

Recent versions of Vim provide each quickfix list with a unique id and allow you to set an arbitrary "context" attribute on the list. I'd like to set the "context" on an existing quickfix list. This ...
1
vote
0answers
34 views

Creating QuickFixed file to apply QuickFixes via diff

TL;DR I have macros in each %m captured by errorformat after :make. I'd like to have a copy of the file in another split and apply all the macros (so to have a fixed file) and then do a :windo ...
1
vote
0answers
38 views

Can't hide quickfix before executing makeprg

I'm trying to hide the quickfix window while building, so that it doesn't show outdated info. I can, of course, execute :ccl at any time to close quickfix. Additionally, I've used autocmd to call a ...
1
vote
0answers
423 views

Open quickfix in current vertical split

I usually use a layout of one vertical split and two different buffers. When i use :copen, the quickfix window always opens in the right split, regardless where my cursor is. Consequently, if my ...
1
vote
0answers
330 views

Why the result file of cscope found in quickfix window can't be showed in file explorer?

When I configured cscope in vim, I have installed some plugins such as Minibufexplorer, but I found that when I use cs find s, the result could be showed in the quickfix, and none of the option file ...
0
votes
0answers
8 views

Termdebug-GDB: Is it possible to jump to breakpoint location by hitting enter?

I'm using Termdebug and it is perfect for me except for one point. I run info breakpoints in gdb to view current breakpoints and their info. If I want to jump to a breakpoint location, I have to open ...
0
votes
0answers
21 views

Not recognising “In file included from”

I'm using the default errorformat, but messages starting with "In file included from" aren't giving me the quickfix output I expect For example: || [ 0%] Building CXX object CMakeFiles/blah/...
0
votes
0answers
15 views

Dealing with fallback behavior when debugging custom errorformats

Is there a way to configure vim to make it more obvious when no error messages match any segment of errorformat? I'm trying to make it easier to debug my custom errorformat. If you run a build for a ...
0
votes
1answer
79 views

Neovim, read entries from the terminal into quickfix buffer

I made my own vim wrapper around ripgrep (I know there is vim-grepper, but I wanted to try customize some things). The crux of it is I populate a quickfix window as follows: let searchString = input(...
0
votes
0answers
33 views

Don't highlight entire line for highlight group

I'd like to change the highlight colors for the QuickFixLine highlight group (something like highlight QuickFixLine term=reverse ctermbg=DarkGrey). Sidenote: the QuickFixLine highlight group is the ...
0
votes
0answers
27 views

Can NerdTree/netrw display only the files that exist in QuickFix list?

There are different ways QuickFix list is populated (make, lsp errors, search, git diff, etc). I find the QuickList extremely useful as it standardizes many outputs and gives me a way to cycle through ...