Jerin Joy wrote:
Hi,
I have a vim window open with a file in a terminal. I wanted to copy
some text to another terminal.
FIrst problem is my select. I hit the Ctrl+V to go into visual mode on
a line, then hitting the Shift key and moving up and down does not
select the lines below or above it.
So I select with my mouse. I usually just use my middle mouse button
to paste elsewhere but it doesn't work for things I select/copy in
vim. I tried the explicit Copy/Paste but it doesn't work.
Do I need to add a setting to my .vimrc file?
thanks
Jerin
Ctrl-V is blockwise visual, except when using mswin.vim.
- To select full lines, use V (Shift-v), not Ctrl-V
- If you source mswin.vim in your vimrc, then Ctrl-V is Paste; you must
then use Ctrl-Q to get the normal function of Ctrl-V in all modes
(belockwise visual in Normal mode, literalize in Insert and
Command-line, mode, etc.)
Best regards,
Tony.