New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:Table is undocumented, global, and conflicts with Tabularize.vim #33

Closed
Peeja opened this Issue May 14, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@Peeja

Peeja commented May 14, 2014

I'm not sure what :Table does, but it's defined globally (not just in CSVs), and it makes the usual :Tabularize abbreviation, :Tab ambiguous. It's also not documented.

Is it something that's useful outside of CSVs?

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra May 14, 2014

Owner

Am 2014-05-14 15:41, schrieb Peter Jaros:

I'm not sure what :Table does, but it's defined globally (not just in
CSVs), and it makes the usual :Tabularize abbreviation, :Tab
ambiguous. It's also not documented.

I wouldn't call :h Table undocumented.

Is it something that's useful outside of CSVs?

Yes it does. And that's why it's in the plugin directory.

Best,
Christian

Owner

chrisbra commented May 14, 2014

Am 2014-05-14 15:41, schrieb Peter Jaros:

I'm not sure what :Table does, but it's defined globally (not just in
CSVs), and it makes the usual :Tabularize abbreviation, :Tab
ambiguous. It's also not documented.

I wouldn't call :h Table undocumented.

Is it something that's useful outside of CSVs?

Yes it does. And that's why it's in the plugin directory.

Best,
Christian

@chrisbra chrisbra closed this in 58046aa May 14, 2014

@Peeja

This comment has been minimized.

Show comment
Hide comment
@Peeja

Peeja May 14, 2014

That doesn't appear to be about the :Table command, that's about the :[CSV]Tabularize command. Can it also be called as :Table?

I did look in the help, under h :Table, which doesn't have an entry.

Peeja commented May 14, 2014

That doesn't appear to be about the :Table command, that's about the :[CSV]Tabularize command. Can it also be called as :Table?

I did look in the help, under h :Table, which doesn't have an entry.

@Peeja

This comment has been minimized.

Show comment
Hide comment
@Peeja

Peeja May 15, 2014

Ah, I understand now. Thanks for the change! (I missed that you made it earlier.)

Peeja commented May 15, 2014

Ah, I understand now. Thanks for the change! (I missed that you made it earlier.)

vim-scripts added a commit to vim-scripts/csv.vim that referenced this issue Jan 16, 2015

Version 31
- fix that H on the very first cell, results in an endless loop (chrisbra/csv.vim#31, reported by lahvak, thanks!)- fix that count for |AddColumn| did not work (according to the documentation) (chrisbra/csv.vim#32, reported by lahvak, thanks!)- invalid reference to a WarningMsg() function- WhatColumn! error, if the first line did not contain as many fields as the line to check.- Rename |:Table| command to |:CSVTable| ( chrisbra/csv.vim#33, reported by Peter Jaros, thanks!)- Mention to escape special characters when manually specifying the delimiter. chrisbra/csv.vim#35), also detect '^' as delimiter.- Csv fixed with columns better use '\%v' to match columns, otherwise, one could get problems with multibyte chars- Sorting should work better with csv fixed with patterns (could generate an inavlide pattern before)- Refactor GetSID() (provided by Ingo Karkat chrisbra/csv.vim#37, thanks!)- New public function |CSVSum()|- Restrict |csv-arrange-autocmd| to specific file sizes (suggested by Spencer Boucher in chrisbra/csv.vim#39, thanks!)- Make |:CSVSearchInColumn| wrap pattern in '%\(..\)' pairs, so it works correctly with '\|' atoms- Small improvements on |:CSVTable| and |:NewDelimiter| command- <Up> and <Down> should skip folds (like in normal Vi mode, suggested by  Kamaraju Kusuma, thanks!)(automatically uploaded)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment