Thursday, January 5, 2017

Re: How to do block pasting?

On Thursday, 5 January 2017 17:35:56 UTC+8, hiwa wrote:
> Kamaraju may be right. It doesn't work on my environment which is Linux/Ubuntu too. Did KF mean a Windows environment, or ...?
>

I'm on Windows, maybe this will help for KDE/Genome:

" .vimrc settings...
" Alt-Mouse-Left for block selections
" You need to disable/switch the Alt key for KDE/Gnome (Windowsettings for KDE)
nmap <A-LeftMouse> ms<LeftMouse><C-q>`so
imap <A-LeftMouse> <Esc><C-q>`^ms<Esc>gi<LeftMouse><C-o><C-q>`so
vmap <A-LeftDrag> <LeftDrag>
vmap <A-LeftMouse> <C-q><LeftMouse>msgv`s

Ref: http://code.jity.de/Jack12816/linux-environment/commit/85e397753e5cceb505dfd1f7ccbfe1955fd83c29?view=inline&w=1

HTH

--
--
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/d/optout.

No comments:

Post a Comment