Skip to content
Awk wrapper and shorthand functions for Vim
VimL
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
plugin
README

README

vawk - Awk wrapper and shorthand functions for Vim

Author:  Tom Ryder <tom@sanctum.geek.nz>
License: Same terms as Vim itself

Work with Awk-friendly columnar data. Provides a simple wrapper to Awk as well
as a few useful functions for chopping and changing columnar data. Requires
Awk to be installed, of course.

All commands accept a range which defaults to the entire file. For commands
which accept columns, these should be comma-separated; you can also use ranges
as a shorthand, e.g. 1,3-6,10,11.

:[range]Vawk <script>          Run an arbitrary Awk script.

:[range]Vcut <columns>         Delete the columns specified.

:[range]Vonly <columns>        Delete all columns except for the specified.

g:vawksep                      The record separator to use for the data.
                               Defaults to Awk's usual whitespace delimiting.
Something went wrong with that request. Please try again.