public
Last active

Notes on my QuickFix talk at VimChi

  • Download Gist
QuickFix notes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
QuickFix
--------
 
Overview:
rational: Vim has a lot of great ways to navigate a project. But if your computer already knows where the problem is, we should be able to jump straight there without searching again.
 
:help quickfix
 
Supports "edit-compile-edit"
Inspired by an Amega compiler
 
+quickfix flag:
$ vim --version | grep quickfix
 
Useful any time you need a list of locations in your document
internal:
* :vimgrep
* :make
plugins:
* :Ggrep (fugitive)
* :Ack
* :Rake
 
:make
-----
 
Two types of lists:
error window
location list
 
* demonstrate make
 
:cw opens the error list
:col opens the previous one
:cnew opens the next one
 
jump to an error's location with <Enter>
 
location lists are associated with a window, quickfix is vim instance wide.
:lolder (lol)
:lnewer
 
like lcd vs cd.
 
custom makeprg of % can be handy to execute the current buffer
 
:Make
-----
* [demo video](http://vimeo.com/tpope/vim-dispatch-teaser)
 
:Rake
-----
* works seamlessly with dispatch.vim to run your rake tasks asynchronously .

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.