Commits

Frank Fischer committed 4e5d93b

fix #11: repeat registers used for a command

Comments (0)

Files changed (1)

 (defun vim:select-register ()
   "Sets the register for the next command."
   (interactive)
-  (setq vim:current-register (read-char-exclusive)))
+  (setq vim:current-register (read-char-exclusive))
+  (setq vim:current-key-sequence (vconcat vim:current-key-sequence
+					  (vim:this-command-keys))))
 
 (defun vim:get-register (register)
   "Returns the content of `register', signals error on fail."