vimpulse feature request: markers ., [, and ]

Christoph LANGE langec at web.de
Sat Oct 30 23:15:42 CEST 2010


Dear vimpulse developers,

another feature request:  In vim I frequently use the following markers (copied from the vim help):

                                                        '[ `[
'[  `[                  To the first character of the previously changed
                        or yanked text.  {not in Vi}   

                                                        '] `]
']  `]                  To the last character of the previously changed or
                        yanked text.  {not in Vi}

                                                        '. `.
'.  `.                  To the position where the last change was made.  The
                        position is at or near where the change started.
                        Sometimes a command is executed as several changes,
                        then the position can be near the end of what the
                        command changed.  For example when inserting a word,
                        the position will be on the last character.
                        {not in Vi}

And there are a few more of that kind, listed in motion.txt, but I haven't used them so far.

The following lines make me miss `. a little bit less, but still it would be good to have:

(require 'goto-chg)
(vimpulse-map "g;" 'goto-last-change)
(vimpulse-map "g," 'goto-last-change-reverse)

Cheers, and thanks in advance,

Christoph

-- 
Christoph Lange, http://de.wikipedia.org/wiki/Benutzer:Langec, Skype duke4701
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20101030/9fa72c66/attachment.pgp 


More information about the implementations-list mailing list