[implementations-list] Fwd: vimpulse - visual select with emacs -nw
Alessandro Piras
laynor at gmail.com
Thu Jul 30 19:24:05 CEST 2009
---------- Forwarded message ----------
From: Alessandro Piras <laynor at gmail.com>
Date: 2009/7/30
Subject: Re: vimpulse - visual select with emacs -nw
To: John MacFarlane <jgm at berkeley.edu>
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 <jgm at berkeley.edu>:
> +++ 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
>
More information about the implementations-list
mailing list