Sunday, February 12, 2012

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

David Gomes, Sun 2012-02-12 @ 15:00:15+0000:
> I was wondering of how I can map Ctrl+Shift+Up to select all region
> above until next blank like, and Ctrl+Shift+Down to select all region
> below until next blank line.

:noremap <C-S-Up> V'{j
:noremap <C-S-Down> V'}k

How's that?

No comments: