Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weilbith/vim-qfloc-edit
Editing quickfix and location lists
https://github.com/weilbith/vim-qfloc-edit
Last synced: about 2 months ago
JSON representation
Editing quickfix and location lists
- Host: GitHub
- URL: https://github.com/weilbith/vim-qfloc-edit
- Owner: weilbith
- License: mit
- Created: 2022-01-15T12:44:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-15T13:20:15.000Z (almost 3 years ago)
- Last Synced: 2024-08-07T18:45:49.891Z (5 months ago)
- Language: Vim script
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim Quickfix & Location List Edits
This is a minimal plugin that allows to edit quickfix or location lists. The so
far supported actions are to remove an entry from a list and undo such a removal
again.This functionality is especially useful for use-cases where the quickfix list
acts like a _TODO_ list (in any format). When being finished with an entry it
can be simply removed. When an entry got removed mistakenly or too early, it can
be simply recovered.All actions to edit quickfix or location lists intentionally always replace the
current list. This is to keep the history of the lists clean and don't clutter
it with a new list for each edit action.## Installation
Install the plugin with your favorite manager tool or just as a native package.
Here is an example using
[packer.nvim](https://github.com/wbthomason/packer.nvim):```lua
require('packer').use('weilbith/vim-qfloc-edit')
```## Usage
The plugin works out of the box. It automatically defines mappings on quickfix
or location list buffers that follow Vim standards. When being in the window
with such a buffer, hit `dd` to remove the entry under the cursor. Type `u` at
any location within the window to iteratively undo the last remove actions.Please checkout the [docs](./docs/qfloc_edit.txt) (`:help qfloc-edit.txt`) to
read about all commands to be more flexible and also how to configure the plugin
with some examples.