-
Notifications
You must be signed in to change notification settings - Fork 266
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
Use vim-table-mode for vim-orgmode table feature. #159
Comments
I use https://github.com/godlygeek/tabular for my tables. It's not integrated in vim-orgmode and not as feature rich as Emacs' orgmode table thingy but all I have to do is vim-table-mode looks pretty powerful though! Quite a few third-party plugins are integrated into vim-orgmode: utl, speeddating, tag-bar, etc. Maybe such an approach to integrate vim-table-mode would be sufficient. I don't have the time to do that but pull requests are welcome. |
Got it. I think the vim-table-mode either uses tabular or was heavily influenced by tabular at least that's my impression from an issue I read. Any specific requirements you look for when integrating a third party? |
I think we should not define new orgmode specific mappings but reuse the vim-table-mode mappings. What do you think? |
Agreed. I'll see if I can put this together. |
👍 :) |
@dkinzer any news? I'm using table-mode (without any modifications) and it works quite nicely. |
Sorry Stefan, I haven't had any time to work on this, but like you say the On Sun, Apr 20, 2014 at 6:52 AM, Stefan Otte notifications@github.comwrote:
|
Hey David, I'll do some more testing and add the documentation then. Thanks for opening the issue! On Sun, Apr 20, 2014 at 9:48 PM, David Kinzer notifications@github.comwrote:
|
OK, sorry I had started https://github.com/dkinzer/vim-orgmode/compare/vim-table-mode but then got bogged down with other stuff. |
Don't be sorry! If you want to add this feature I'm more than happy. There is no rush. Just let me know. |
@dkinzer @sotte What exactly is left here to do? I just tried to use it and it seems to work quite nicely; I'm a bit confused though, as in the documentation (section "Creating table on-the-fly") each row seems to be separated by some This does not seem to be the case for org-mode (see http://orgmode.org/manual/Built_002din-table-editor.html#Built_002din-table-editor) and we might have to set the option accordingly, see the call s:SetGlobalOptDefault('table_mode_fillchar', '-') at https://github.com/dhruvasagar/vim-table-mode/blob/master/plugin/table-mode.vim |
@Shurakai the table feature of emacs' orgmode is really a beast. It can do so many things: So I guess there is a lot left to do :) But if "just" want to integrate vim-table-mode, we should create a pull request and talk about the details. |
Yeah I think we should just go ahead with a PR. There are many other parts of vim-orgmode that require attention and vim-table-mode is quite sophisticated. We need to add documentation for sure, but what else? It worked quite well already. |
Documentation, tests... |
Curious to know if a PR's been crafted; I'm willing to test drive against a few cases of live data (or write tests for said examples). |
This would be very helpful for me! Since I did not see a merged or open PR about this: can I find the code somewhere or would you provide this as a PR @0xACE ? :-) |
dhruvasagar/vim-table-mode is a feature rich ascii table manipulator that seems to only be lacking a sorting feature and an export feature. At a glance, the code base seems pretty solid (though, it's vimscript not python); but the test suite looks very comprehensive.
I think incorporating this module into vim-orgmode could be very beneficial.
The text was updated successfully, but these errors were encountered: