Thursday, May 27, 2010

Re: Mapping the Super / Windows key

Am 27.05.2010 15:53, schrieb John Little:
> You also might consider learning more vim-like approaches. Check our
> the 'clipboard' option.

You mean clipboard=unnamed? No, that's annoying.

Currently, I'm quite happy with

> if !has("gui_macvim")
> vnoremap <C-X> "+x
> vnoremap <C-C> "+y
> imap <C-V> "+gP
> cmap <C-V> <C-R>+
>
> " Pasting blockwise and linewise selections is not possible in Insert and
> " Visual mode without the +virtualedit feature. They are pasted as if they
> " were characterwise instead.
> " Uses the paste.vim autoload script.
>
> exe 'inoremap <script> <C-V>' paste#paste_cmd['i']
> exe 'vnoremap <script> <C-V>' paste#paste_cmd['v']
>
> " Use CTRL-Q to do what CTRL-V used to do
> noremap <C-Q> <C-V>
> endif


Regards,
Bernhard

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

Post a Comment