I'm moving from vi to emacs and, using viper and vimpulse, it gets pretty annoying when I C-w C-w
to a window and cannot get back to the original one with the same command because the other buffer, which could be a help buffer, is not in the Viper mode. How can I fix this?
I tried to add other modes to the viper configuration and make them start with the viper mode on by default using hooks:
(add-to-list viper-vi-state-mode-list 'help-mode) (add-hook 'help-mode (lambda () (setq viper-mode t)))
But none of these commands did work. In fact, the first one yielded the following error:
Warning (initialization): An error occurred while loading `/home/konrad/.emacs.d/init.el': Wrong type argument: symbolp, (fundamental-mode ...
Besides the C-w C-w
, I also miss not being able to navigate using hjkl. Isn't there a way to reuse the keybindings set by viper, instead of rebinding them again for every mode?