On Tue, Sep 20, 2011 at 04:30:43PM +0200, Nikolai Weibull wrote:
On Tue, Sep 20, 2011 at 16:20, Nikolai Weibull <[email protected]> wrote:
The \C-^ mapping for switching to the alternate buffer is missing. I tried implementing it, but I gave up, sorry.
I guess something as simple as
(defun evil-other-buffer () (interactive) (switch-to-buffer (other-buffer)))
I added something similar in adbbe21. For % and #, you're right, they are not implemented yet. They would require a special handling of file-arguments that has to be done. In order to prevent us forgetting this it may be a good idea to file an issue at http://bitbucket.org/lyro/evil Btw, I do not really know if there is a better way to mimic # as Emacs and Vim's organisation of buffers is different (afaik there are no buffer-numbers in Emacs, just a list of them that may be reordered). Probably it's not worth the effort to mimic Vim's behaviour. Frank