Sunday, February 12, 2012

Re: C-S-up and C-s-down

Dotan Cohen, Sun 2012-02-12 @ 18:48:51+0200:
> On Sun, Feb 12, 2012 at 18:41, Taylor Hedberg <tmhedberg@gmail.com> wrote:
> > David Gomes, Sun 2012-02-12 @ 15:00:15+0000:
> >    :noremap <C-S-Up> V'{j
> >    :noremap <C-S-Down> V'}k
> >
> > How's that?
>
> What is the ' for? I tried :help v_' and v' (to check ' in visual
> mode) but there was no help for that, and ' in regular mode (marks)
> does not seem relevant.

You're right, it's unnecessary. The '} and '{ are automatic marks that
exist at the end and beginning of the current paragraph. But I
overlooked that you could just use the } and { motions instead.

Didn't have my coffee this morning... :)

No comments: