[implementations-list] Fwd: vimpulse - visual select with emacs -nw
---------- Forwarded message ---------- From: Alessandro Piras <[email protected]> Date: 2009/7/30 Subject: Re: vimpulse - visual select with emacs -nw To: John MacFarlane <[email protected]> yeah, that's an ugly hack I made to make p work with block selection. before you had to press Ctrl-P to paste. Enabling the experimental code should fix it. 2009/7/30 John MacFarlane <[email protected]>:
+++ 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
participants (1)
-
Alessandro Piras