Sunday, February 12, 2012

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

On Sun, Feb 12, 2012 at 18:41, Taylor Hedberg <tmhedberg@gmail.com> wrote:
> 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?

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.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: