From 8a4e26c6fe7530a0e24268cd373f0d4e53fe81e1 Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Tue, 17 Aug 2021 15:56:37 +0200 Subject: feat(autocmd): add Recording autocmds feat(eval): add reg_recorded() This function is used the get the last recorded register. style(Recording): rename handler to match suggestions fix(RecordingLeave): send autocommand earlier This makes the autocommand fire just before setting reg_recorded to reg_recording, this way we clearly show that we are actually just before actually quitting the recording mode. --- runtime/doc/vim_diff.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/doc/vim_diff.txt') diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index bc59ea785e..154b18add7 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -218,6 +218,7 @@ Input/Mappings: Normal commands: |gO| shows a filetype-defined "outline" of the current buffer. + |Q| replays the last recorded macro. Options: 'cpoptions' flags: |cpo-_| -- cgit