Commit Graph

35 Commits

Author SHA1 Message Date
Matt Wozniski
339091ac4d
Merge pull request #53 from randomizedthinking/master
Add spaces Pipeline
2019-02-19 12:42:08 -05:00
Matt Wozniski
b95079aae9
Merge pull request #56 from lukehsiao/patch-1
Fix minor typo in Tabular.txt
2019-02-19 02:19:19 -05:00
Luke Hsiao
a7a4dbd787 Update Tabular.txt
Fix a typo (appart -> apart)
2017-08-09 10:16:57 -07:00
randomizedthinking
367d38b38b Add spaces Pipeline
It is useful to align space separated fields.
2017-06-22 14:19:26 -07:00
Matt Wozniski
00e1e7fcdb Add a help tag for :Tabularize
Fixes #45
2016-05-04 18:59:09 -04:00
Matt Wozniski
7bd1d0de5d Add LICENSE.md & add license to TabularMaps.vim 2016-05-04 18:50:29 -04:00
Matt Wozniski
60f2564881 Add an option to not load TabularMaps.vim
Setting g:no_default_tabular_maps=1 will disable loading of
TabularMaps.vim.

Suggested by jeetsukumaran on github.
2013-05-16 19:56:07 -04:00
Matt Wozniski
0c856ba0a9 More detailed installation instructions in README 2013-01-28 01:33:36 -05:00
Matt Wozniski
27309cfcd6 Add pathogen link from README.md 2013-01-28 01:23:21 -05:00
Matt Wozniski
d35f043178 Add some links to README.md 2013-01-28 01:11:49 -05:00
Matt Wozniski
5a3e29b529 Merge pull request #16 from evanswebdesign/master
A simple readme
2013-01-27 21:58:24 -08:00
John Evans
ca3ab8f321 Create README.md 2012-12-21 15:42:41 -08:00
Matt Wozniski
7f6f1723a2 Use strdisplaywidth where available
In vim 7.3, the strdisplaywidth function was added to give an accurate
count of the number of screen columns that will be taken up by a given
string.  Tabular was written before vim 7.3, and was implementing this
functionality itself (at least for tabs; it wasn't trying to handle
doublewide characters).

This changeset allows us to take advantage of strdisplaywidth where it
exists.
2012-10-21 23:03:13 -04:00
Matt Wozniski
d3acca35fd Doc fix for GTabularize 2012-09-11 00:44:11 -04:00
Matt Wozniski
dadab80e82 GTabularize tweaks 2012-09-11 00:33:47 -04:00
Matt Wozniski
df28fbc369 Refactoring for GTabularize 2012-09-05 00:37:32 -04:00
Matt Wozniski
4894d4add2 First attempt at GTabularize 2012-09-04 23:37:58 -04:00
Matt Wozniski
ad2a5a1d54 Add license info to Tabular.vim 2012-05-03 20:57:25 -04:00
Matt Wozniski
5dd9b4c9e4 Add license info to tabular.vim 2012-05-03 20:53:54 -04:00
Matt Wozniski
b7b4d8791a :Tabularize with no args reuses the last pattern
The docs are updated to document this feature.  Calling :Tabularize with
arguments and no previous pattern prints an error message and does
nothing.  This works with both patterns and named commands.
Suggested by nocash - http://github.com/godlygeek/tabular/pull/2
2011-03-31 00:14:50 -04:00
Matt Wozniski
4b543cda52 Rewrite of s:SplitDelim
The original implementation had some serious problems with delimiters
that were allowed to match with zero-width.  This should correct
https://github.com/godlygeek/tabular/issues/3 - please let me know if
you find any regressions!
2011-03-28 01:35:37 -04:00
Matt Wozniski
ae01c3df35 Add a function for testing s:SplitDelim 2011-03-28 01:34:44 -04:00
Maxim Burgerhout
1835018f96 Ignore /doc/tags so this module can more easily be used with Pathogen 2011-01-23 14:08:12 +01:00
Matt Wozniski
f4d460ea92 Revert "Alternate strategy for empty first column"
Per tpope:
"I just discovered the second of the two tabular fixes I gave you
doesn't work properly if the delimiter is at the very beginning of the
line...  [It] pretended the leading whitespace was part of the padding,
which doesn't help if there's no leading whitespace."

This reverts commit 16f7b1e204.
2010-01-27 00:21:13 -05:00
Tim Pope
16f7b1e204 Alternate strategy for empty first column 2009-12-20 18:09:36 +08:00
Tim Pope
c5fcca78ab Don't add leading space in empty first column 2009-12-20 15:39:39 +08:00
Matt Wozniski
68d1d3a41b More tabular docs 2009-03-11 03:26:02 -04:00
Matt Wozniski
dcf10fa4f6 More tabularize docs 2009-03-09 20:40:10 -04:00
Matt Wozniski
c340487a87 First swing at Tabular.txt help file. 2009-03-09 17:25:14 -04:00
Matt Wozniski
d40b8c40f0 Guard TabularMaps.vim against absent Tabular.vim 2009-03-09 17:25:14 -04:00
Matt Wozniski
3636774cb8 Move TabularMaps to after/plugin
We need to be sure that it will load after Tabular.vim - plus, it sets
an example for others to see how to extend Tabular.
2009-03-09 17:25:14 -04:00
Matt Wozniski
ae157f4a06 Make sure we don't remove all leading indent
The 'remove trailing spaces from first field' logic backfired if the
first field was all whitespace.
2009-03-09 17:25:14 -04:00
Matt Wozniski
f9f6d5bf15 Add 'argument_list' command 2009-03-03 21:44:55 -05:00
Matt Wozniski
d28a1791ea Handle functions that return a:lines
The logic to clear a:lines and replace it with the return of the
function failed pretty miserably when the function returned a:lines.  It
cleared a:lines and then replaced it with the (now empty) elements.
2009-03-03 21:43:31 -05:00
Matt Wozniski
ef55d4b6eb Initial commit 2009-03-03 01:20:14 -05:00