Entable is a perl script by Bryan Harris. http://entable.s3.amazonaws.com/index.html It is extremely flexable.
I wrote this note on using it from vim: http://entable.s3.amazonaws.com/vim-usage.html Using Entable with Vim Place the entable script in a convenient folder, I chose the local vim extensions folder: vmap <F11> !$HOME/.vim/entable<cr> Use visual mode to select some text, press the mapped key to execute entable on the selected text. ... where vmap map a key to visual mode ! call external command $HOME environment variable to user home folder .vim vim's extras folder, convenient place entable the entable script <cr> execute the enter key --OR-- Define a function to which other commands may be added: function! Entable() range execute a:firstline . "," . a:lastline . '!$HOME/.vim/entable' endf " usage :'<,'>call Entable()<cr> ... where function! create function, overwrite an existing Entable() function name range function handles range execute execute following string a:firstline start of range . concatenate parts of string "," comma . concatenate parts of string a:lastline end of range . concatenate parts of string '!$HOME/.vim/entable' path endf end of function " start comment Bill -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
