Skip to content
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

Display-only live column arrangement? #48

Closed
naught101 opened this issue Jun 9, 2015 · 3 comments
Closed

Display-only live column arrangement? #48

naught101 opened this issue Jun 9, 2015 · 3 comments

Comments

@naught101
Copy link

It would be nice to have a view mode that is like the results of :ArrangeColumns, but doesn't actually modify the file. That is, column widths are calculated, and then the separator is displayed as <sep><x spaces> where x is column width - column contents width. Ideally, column widths would be corrected whenever a cell was edited (not while in insert mode, but after).

I'm not sure how feasible this would be, given Vim's structure, nor how computationally intensive this would be, but it would be really nice for smallish CSVs anyway.

@chrisbra
Copy link
Owner

chrisbra commented Jun 9, 2015

I think, this is like the collapse feature from issue #41 . This might be possible, with the conceal feature, but probably makes Vim a lot slower.

@chrisbra
Copy link
Owner

chrisbra commented Jun 9, 2015

closing see #41

@chrisbra chrisbra closed this as completed Jun 9, 2015
@naught101
Copy link
Author

Yeah, fair enough, I didn't realise that that was discussing a view-only arrangement. The ability to have that work on non-arranged columns would be an extra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants