GVFilter.vim : VIm plugin to filter current buffer by given arguments, like :g or :v
| script karma
Downloaded by 46
Comments, bugs, improvements
script versions (upload new version)
|The plugin filters the current buffer so that only lines matching the given arguments remain in the file or all others, non-matching lines.
It is a wrapper for the global/v commands, adding a bit more functionality like being able to repeat the last command executed, or starting a timer to continuously execute the last command.
It makes it easy for the user to assemble the global/v command by defining commands for each and letting the user just enumerate the filter arguments. The executed VIm command is deletion.
General forms of the commands the plugin executes are:
'pattern' can be a list of arguments in case more than one argument is passed to the plugin.
In this case only lines matching arg1 or arg2 or arg3 will be shown in the buffer and all the other lines deleted.
Get the plugin from here on Github: https://github.com/robcsi/gvfilter.vim.git
Other features include:
- The last command can be repeated by calling a command created specially for that purpose. The plugin remembers the last assembled command
- The user is also able to continuously filter the current buffer, by using two commands which use VIm's timer mechanisms. The _Start and _Stop commands facilitate this. This is very useful when wanting to filter growing files, like logs.
- The assembled command can be displayed for the user to see what has been executed.
Check the help file for more information: https://github.com/robcsi/gvfilter.vim/blob/master/doc/gvfilter.txt
Copyright - 2016 - 2017
|Install by using pathogen.|
Click on the package to download.
ip used for rating: 126.96.36.199