Tuesday, March 26, 2013

Re: Question Ctrl+Shift+V

I have this in my .vimrc:

"The first line sets a mapping so that pressing F2 in normal mode will
invert the 'paste' option, and will then show the value of that option.
The second line allows you to press F2 when in insert mode, to toggle
'paste' on and off. The third line enables displaying whether 'paste' is
turned on in insert mode.
nnoremap <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode


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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment