Questions tagged [command-history]

Questions about how Vim records the commands issues by the user and how to customize this behavior.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
26 views

substitute short by long command forms from history on VimLeavePre

How can I edit the : history from a VimLeavePre autocmd? I'd like certain abbreviated command forms to be recorded with their long form in the shada file. I'm in the habit of using both :tabe {file} ...
1
vote
0answers
33 views

How do you remap keys in :history or :highlight?

I use Colemak hnei for nav in normal mode, but my keys default to hjkl when when I'm viewing :history and :highlight. How do I remap these keys? My guess is that the program may be switching to more....
1
vote
0answers
36 views

How to view the command that was just un(re)done

Is it possible to see the sequence of key presses that are undone/redone when using u and Ctrl-r commands?