30 Jul
2009
30 Jul
'09
4:57 p.m.
+++ Alessandro Piras [Jul 30 09 04:49 ]:
better: (defadvice viper-intercept-ESC-key (around vimpulse-esc-exit-visual-mode activate) (when (and vimpulse-visual-mode (not (input-pending-p))) (vimpulse-visual-mode '-)) ad-do-it)
I tried putting this in my .emacs, and it did allow the arrow keys to be used with visual mode in console emacs. I noticed another glitch that doesn't seem connected with the above code (since it happens even without it). If I do a visual block select (Ctrl-v then movement keys), then y, then P to paste the buffer, I get the string ^BVimpulseVisualBlockMode^C rather than the text I selected. John