News for hackers. Stuff that matters.
Re:Bram Moolenaar Discusses Developing Vim, How He Uses It, ... by zeveb on Thursday December 22, 2016 @07:28AM (#13236782)
> Bram admitted to using other editors on rare occasions, and said he always misses the dot (.) command, which repeats a change several times in different positions, and the ability to record and replay a sequence of commands.

> “Just a simple ‘change this text into that text’ can be very laborious without a repeat command,” he said. “I haven’t seen another editor that provides this feature.”

Note that emacs has had the repeat command since version 20.3, released 19 August 1998[2]. I suppose that means he's not used it since then …

[1] https://www.gnu.org/software/emacs/manual/html_mono/efaq.htm...

[2] https://www.emacswiki.org/emacs/EmacsReleaseDates

Re:Bram Moolenaar Discusses Developing Vim, How He Uses It, ... by to3m on Thursday December 22, 2016 @09:26AM (#13237399)
Have you used vim? . is much closer to running a keyboard macro than it is to C-x z - only you don't have to record anything ahead of time, nor necessarily even realise until afterwards that you might want to reuse what you've just done. There's no precise equivalent in emacs. It's described here: http://vim.wikia.com/wiki/Repeat_last_change

C-x z is lame by comparison. Like, suppose you just typed in M-d h e l l o, and you press C-x z. It repeats the last command: self-insert-command. So you get an additional o. Thanks, Emacs!

More comedy: after you move the cursor, perhaps planning to use C-x z to insert another o elsewhere in the document, C-x z now replays the last cursor movement command.

(None of this is illogical, it's simply that C-x z is not, probably, very useful for editing text.)

With vim, on the other hand, pressing . would replay the word deletion, followed by the insertion of "hello". And you can use other motion commands to move about the file before repeating it again, allowing you to perform this operation in multiple places.

Re:Bram Moolenaar Discusses Developing Vim, How He Uses It, ... by akacase on Thursday December 22, 2016 @11:45AM (#13238423)
https://github.com/wyrickre/dot-mode, elisp is pretty awesome if you utilize cl-lib and eieio.