Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

perl-vim-table

Toby Thurston -- 02 Jun 2017

A perl filter that parses text and lines things up in columns.

Intended to be used as a filter for vim.

Installation

  • Copy table.pl to a convenient folder, or try:

      git clone https://github.com/thruston/perl-vim-table.git
    
  • Add these perl libraries (unless you already have them):

      cpanm Statistics::Descriptive
      cpanm Math::Prime::Util  
      cpanm Math::SigFigs
      cpanm Math::Round
    
  • Add a line like the following to your ".vimrc" file.

      :command! -nargs=* -range=% Table <line1>,<line2>!perl ~/your-folder/table.pl <q-args>
    

    which you should adjust appropriately so your perl can find where you put table.pl.

    You can of course use some word other than "Table" as the command name. Take your pick, except that Vim insists on the name starting with an uppercase letter.

For more details

    perldoc table.pl

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.