Wednesday, March 28, 2012

Re: How to create a mapping that makes vim go into selec-mode

On Thu, March 29, 2012 08:05, Jeri Raye wrote:
> How can I make a mapping that "select mode" is used in insert mode
> when I press a certain mapping?
>
> I now see when I press CTRL and SHIFT and an arrow key that this
> select mode is used.
> At the bottum of the screen the following appears
> -- (insert) SELECT --
>
> Can I make a mapping that
> CTRL + SHIFT + F
> behaves the same as
> CTRL + SHIFT + "arrow up", which causes now to go into select mode,
> and selects the line above

imap <C-F> <Up><C-\><C-O>gH

Not sure, if you can make a distinction between Ctrl-F and Ctrl-Shift F

regards,
Christian

--
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: