vim-qf-history : Navigate the quickfix or location-list stack using a popup menu
script karma |
Rating 0/0,
Downloaded by 319 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
foo bar |
|
script type |
utility |
|
description |
Quickly navigate Vim's quickfix and location-list history using a popup menu.
Background:
Vim remembers the ten last used quickfix lists, and the ten last used location-lists for each window. The entire quickfix and location-list stack can be displayed with :chistory and :lhistory, respectively. Older quickfix lists are accessed through :colder and :cnewer, or directly with :[count]chistory (and similar for location-lists). See :help quickfix-error-lists for more details.
This plugin will display the quickfix and location-list stack in a popup menu allowing the user to easily switch to an earlier error list. If one of the lists contains different error types, the total number of each error type (E, W, I, N) is shown along with the total number of entries. Unknown error types are displayed in column "?", and empty lists are greyed out.
Commands:
:Chistory -- Display the quickfix history in a popup window and make the selected list the current list, similar to :[count]chistory.
:Lhistory -- Same as above, but display the location-list history of the current window, similar to :[count]lhistory.
After switching the quickfix or location list through the popup menu, the plugin triggers the QuickFixCmdPost event with the pattern "chistory" and "lhistory", respectively.
https://github.com/bfrg/vim-qf-history |
|
install details |
Run the following commands in your terminal:
cd ~/.vim/pack/git-plugins/start
git clone https://github.com/bfrg/vim-qf-history
vim -u NONE -c 'helptags vim-qf-history/doc | quit'
Note: The directory name git-plugins is arbitrary, you can pick any other name. For more details see :help packages. Alternatively, use your favorite plugin manager. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.141.164.124
|