Hi Dotan!
On Fr, 11 Mai 2012, Dotan Cohen wrote:
> However I am having trouble with the Insert version. I am trying this code:
> :inoremap <F2> <Esc>:set nu! paste!<cr>
>
> However, when I press F2 in Insert mode I get the text <F2> inserted
> into the document!
Well, by definition in paste mode, mappings aren't executed (:h 'paste')
> Also, I will have trouble with reentering Insert mode, because if I
> use "i" or "a" then I will have troubles at the end or beginning of
> text lines. Is there a workaround for that?
:h i_CTRL-\_CTRL-O
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
Friday, May 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment