Greplist.vim manages vimgrep location lists in Vim. It is a tool for Vim users to quickly and easily manage and navigate through search results within their text files.
To load a list for editing, use the ":GrepListConfig" command. The list is kept in either "$HOME/_vimgrep" or "$VIM/_vimgrep" file if $HOME is not defined. If the "_vimgrep" file does not exist or is empty, the plugin generates a sample list. The plugin offers useful normal mode mappings on the status line, such as 'q' to abandon any changes and wipe the buffer, 's' to save changes and wipe the buffer, and ' ' to select/deselect the current line (selected lines start with '+').
To start a vimgrep search in selected locations, use the ":GrepListFind(mode)" command, which prompts users for the string to find. The default search string value is either the current visual selection (mode != 0) or the current word (mode == 0). The plugin automatically surrounds the search string with '/' and adds the 'j' option. Its best to create mappings for these commands for convenience.
Vim is a text editor that Bram Moolenaar first released in 1991 for the Amiga computer. The full name is Vi IMproved, and it was created as an extended version of the vi editor, with many additional features to help edit program source code. Vim is most popular on Unix-like operating systems although it is cross-platform. It is free and open-source software released under a software license compatible with the GNU General Public License. The program's license includes some charityware clauses.
Vim's interface is based on commands rather than menus or icons. Its GUI mode, gVim, adds menus and toolbars for commonly used commands, but the full functionality is still expressed through its command line mode. There are beginners' tutorials and a user manual explaining basic and advanced Vim features. Vim also has a built-in help facility using the ":help" command, letting users navigate through commands and features.
To install the plugin, download and copy greplist.vim to $VIM/vimfiles/plugin or $HOME/vimfiles/plugin directory. Vim must be installed for this plugin to work.
Version 1.0: N/A