On Fri, Jul 12, 2019 at 5:56 AM Daan van Rossum <[email protected]> wrote:
>
> Dear vim devs,
>
> There is one seemingly simple feature that is missing in vim, so I though it 
> is time to bring it up:
>
> Feature: simple action (dot-key) history table.
>
> Quoting vim help:
> ```
> There are actually five history tables:
> - one for ':' commands
> - one for search strings
> - one for expressions
> - one for input lines, typed for the input() function.
> - one for debug mode commands
> ```
>
> I'm sure there is a good reason, but why does a table for "repeat last 
> change" (. key) not exist?
>
> One nice thing about the history tables is that they are persistent across 
> restarts.  Pressing 'n' after starting vim will repeat the last 'search', 
> pressing '.' would repeat the last 'action'...
>
> Best, Daan

I think the reason is that (in 'nocompatible' mode) there is an undo
feature which allows you to go back any number of recent changes, then
go forward redoing them.

See
        :help u
        :help CTRL-R
and in general
        :help undo.txt


Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXsj3TcWS1%3D7tZ6QDMO_j69j0nVYvwtX2iNEW7e2ccCfpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui