366 Commits

Author SHA1 Message Date
Dhruva Sagar
8169303d40 Added helpful comment for magic within TableizeRange 2013-03-18 17:20:17 +05:30
Dhruva Sagar
c94b91237e Added s:strlen for counting multibyte characters
Check :h strlen() for more details with regards to counting multibyte
characters accurately.
2013-03-18 17:06:15 +05:30
Dhruva Sagar
674f3e376c Removed unnecessary check 2013-03-18 16:11:31 +05:30
Dhruva Sagar
750ad58ad5 Updated README 2013-03-18 12:31:03 +05:30
Dhruva Sagar
18681a5517 Update README.md 2013-03-18 12:28:18 +05:30
Dhruva Sagar
5defaa10e4 Fixed ConvertDelimiterToSeparator
- We now aggressively add separators to a line even if it does not have
  the g:table_mode_delimiter. If the user calls Tableize, we should
  trust the user he wishes to tableize everything. Earlier
  implementation skips & fails for lines in text that did not have the
  g:table_mode_delimiter and hence formed inconsistent tables.

  Everything can be undone with a single 'u' anyways.
2013-03-18 12:19:38 +05:30
Dhruva Sagar
b2ba3caf24 Added Tableize to wrap content into a table.
- Added :Tableize which accepts a range. It checks if the content has a
  delimiter defined by g:table_mode_delimiter and if so, it adds a table
  around it.
- Added <Leader>T mapping, which is defined by g:table_mode_tableize_map
  that applies :Tableize on the visually selected range.
- Added options for tableize.
- Updated vim doc.
2013-03-18 12:10:12 +05:30
Dhruva Sagar
71135d6b60 Updated README.md 2013-03-17 15:16:02 +05:30
Dhruva Sagar
958084d9d6 Fixed readme & added youtube screenshot 2013-03-17 13:55:53 +05:30
Dhruva Sagar
ff040d25ce Removed slow demo.gif & linked youtube video 2013-03-17 13:19:26 +05:30
Dhruva Sagar
178783f813 Updated table-mode doc, added author & license. 2013-03-17 11:57:09 +05:30
Dhruva Sagar
0293c35e24 Updated README and added credits section. 2013-03-17 11:51:46 +05:30
Dhruva Sagar
f1707199d4 Fixed the doc, Added demo gif & updated README 2013-03-17 11:45:21 +05:30
Dhruva Sagar
b9eb7a25d5 Added more commands & updated help dpc
- Added :TableModeEnable to explicitly enable & :TableModeDisable to
  explicitly disable the plugin.
2013-03-17 04:37:11 +05:30
Dhruva Sagar
73ff16f147 Updated README 2013-03-17 04:18:29 +05:30
Dhruva Sagar
368d32de45 Table Mode v1.0 2013-03-17 03:56:43 +05:30