On Jun 6, 10:17 pm, Ben Fritz <fritzophre...@gmail.com> wrote:
> On Wednesday, June 6, 2012 10:57:17 AM UTC-5, sinbad wrote:
>
> > ben, yes i was looking at exactly what you explained.
> > i want to align certain lines in both files. i'm little surprised
> > that nobody thought of this as there is no plugin available.
> > thanks for writing the plugin. i'll try out and let you know.
>
> OK, if you want to try the proof-of-concept, go ahead. But it's not really ready yet, since only one alignment is supported and you must know which file will be v:fname_in and which will be v:fname_new. I'm going to clean it up to support:
>
> 1. Multiple alignment points
> 2. Auto-detecting which alignment points apply to which file in the diff
> 3. User-configurable mapping to set an alignment point in a window
> 4. User-configurable mapping to clear an alignment point in a window
> 5. Command to clear all alignment points on the tab page
> 6. Warn when number of alignment points in each file in the diff don't match each other and ignore alignments in one file without a corresponding one in the other
> 7. Sign column showing the alignment points
>
> For the sign column, I'm leaning toward showing a sorted index number of the alignment position, since then I could also use an optional count to the "add alignment" and "delete alignment" mappings to move/remove specific ones. This would limit the total number of aligned positions to 99; I assume this would be acceptable?
ok, i would rather wait till it has some features. yes 99 align points
should be enough. honestly
in my experience using beyond compare, i never had to use more than
two align points.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Wednesday, June 6, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment