Questions tagged [quickfix]

Questions about the usage of quickfix commands and quickfix windows.

Filter by
Sorted by
Tagged with
3
votes
1answer
568 views

How do I run Cakephp's tests (PHPUnit) and output it to QuickRun or other window?

Is there a way to run tests of the current opened file and get output in other window like vim-QuickRun does? Right now I'm running tests by the command in command line: /vagrant/my_project/app/...
4
votes
1answer
3k views

How to redirect the output of a command as the quickfix list to a vim server / function?

When I click on a link in thunderbird and firefox is already running, it doesn't open a new window, just a new tab. I want the same thing for vim: no matter where I am and how I send a bunch of files ...
1
vote
1answer
258 views

Jump to linker errors in quickfix

How can I make linker errors jumpable in quickfix? Example: int foo(void); int main(int argc, char* argv[]) { foo(); } Start up vim and run :set makeprg=gcc\ % and try :make. This produces a ...
20
votes
4answers
4k views

Quickfix support for Python tracebacks

Say I have a python script with a runtime error: $ cat example.py #! /usr/bin/env python3 a = 1/0 which gives: $ python3 example.py Traceback (most recent call last): File "example.py", line ...
2
votes
1answer
392 views

uneven quickfix window output from Ack/Ag

For some reason I get, what I call an "uneven" output from Ack/Ag in the quickfix list window. My project directory structure is the following: /home/user/projects/myproject | ---- llvm-or1k | -...
1
vote
1answer
1k views

Enter in Quickfix window gives “E73: tag stack empty” error

I am using the Lid.vim plugin to navigate my C++ project. Once I run :Lid, it shows me the list of matching tags in the quickfix window. When I switch to the quickfix window, select the occurence I'...
1
vote
2answers
1k views

Keeping quickfix jumps in the jump list

When I populate the quickfix window (say with grep or Ag.vim), I can scroll through the entries, and all the positions inside the quickfix window show up in :jumps. But as soon as I navigate away (say ...
4
votes
2answers
2k views

Showing colors in vim's quickfix window from Dispatch tasks

I'm currently using vim-dispatch to run tests on my code which outputs the test results to the quickfix panel via tmux. However, all colors seem to be disabled in the output. There's this two year ...
11
votes
1answer
898 views

How to map Enter to custom command EXCEPT in quick fix?

I've remapped <cr> (enter) to za so I can quickly open/close folds. However, now when I use the quickfix window and hit enter it no longer jumps to the line with the error (because it's trying ...
5
votes
1answer
2k views

How to automatically set wrapping for quickfix window?

I'm using Dispatch.vim, and often when there's a test error, some lines in the quickfix list are really long. I don't use soft wrapping for my code, so quickfix also isn't wrapped. Is it possible to ...
8
votes
1answer
3k views

Open quickfix in vertical split

If I use the command :copen the quickfix buffer will be opened as a horizontal split. Is there a way (a command) to open it in a vertical split instead?
4
votes
2answers
1k views

Quickfix with makeprg running in a different directory

How can I start a build with my makeprg running in a different directory than the working directory of vim and still catch errors in quickfix so that I can jump between them? The problem is that ...
13
votes
3answers
3k views

How do I have buffers listed in a quickfix window in Vim?

Using vim editor, a common task is to browse buffers. I now use standard commands like :ls or a :bnext. In fact I set in my .vimrc: "move amongs buffers with CTRL map <C-J> :bnext<CR> map ...
3
votes
2answers
253 views

Quickfix window not displaying stderr messages?

After running :make, the quickfix window displays the compile command and other stdout messages from the makefile, but it doesn't display any errors. Everything but stderr messages are displaying. How ...

1 2
3