Wednesday, December 23, 2009

Re: Is there a tool that can compute how many keystrokes are need to modify a file to another?

On Dec 23, 6:34 pm, Christophe-Marie Duquesne <chm.duque...@gmail.com>
wrote:
> On 12/23/2009 12:23 AM, Peng Yu wrote:
>
> > I'm wondering if there is a tool that can roughly estimate how many
> > keystrokes (in vim) are needed to modify a file to another.
>
> Well, with diff and wc, depending on what you call "roughly" and
> depending on the text editor, you may obtain a satisfying result...
>
> What about
>
> diff <file1> <file2> | wc --chars

This is too rough.

I want a tool that can at least take consideration of copy and paste
(e.g. 'yy' and 'p'). Or better, given a set of commonly used vim
editing commands, to find the optimal number of keystrokes that are
needed to achieve the final result. Essentially, I want to evaluate
how much time it is need to edit a given file by a human being.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: