On Thu, Sep 27, 2018 at 02:04:13PM -0400, Chet Ramey wrote: > > I wonder if an `extended-vi' option is the way to handle this.
Would you want to start accumulating other vim enhancements under the `extended-vi' option? If not, I don't think the change to ';' is important enough for a named option. As an aside: If you _would_ want more extensions, I think the very popular vim text-object commands (e.g., ci" to change the text inside the surrounding quotes) would be the low-hanging fruit. Skimming through your codebase, I think they would be pretty similar to the special-cases in 'rl_domove_read_callback()' for dd/cc/yy: they would modify both rl_mark and rl_point prior to dispatching a d/c/y command. A little more state would need to be saved to support '.'-redo. _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
