[Vimprobable-users] [PATCH] Fixed wrong entries in command history
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Daniel C. <dan...@gm...> - 2012-04-10 14:30:26
|
Hi! I'm using the command history in vim, so I often was disappointed that the command history didn't work well in vimprobable. For example: Run a command writing to message window :echo alert(1); that prints 'undefined' to the message window. If I looked for the last run comand in history by tying : and hitting cursor key up, vimprobable suggests ':ndefined', but not the previous called command. The attached patch fixes this behaviour by writing the history before running the function associated with the command and only if the command was found. Daniel |