vim:ctrl+v command to select some data.But when I push ctrl+v.It doesn't work..
" Mark the start of the text with "v", "V" or CTRL-V.
The character under the cursor will be used as the start." "With CTRL-V (blockwise Visual mode) the highlighted text will be a rectangle between start position and the cursor." I can mark the start with "v" or "V". But it doesn't work when I push ctrl+V. Any suggestions will be appreciated! |
Not sure about that method but after you highlight with v try pressing y for yank or x for delete / cut
|
Quote:
Vim user manual says:"With CTRL-V (blockwise Visual mode) the highlighted text will be a rectangle between start position and the cursor." |
Anyone can help me?
Than you. |
Hi
I just want to check that I'm not being stupid when reading your post but when you press CTRL-V are you using CTRL-V (pressing SHIFT) or CTRL-v (just two fingers) I tried on my version of VIM (which is 7.2.330) and CTRL-v allowed me to select a rectangle, pressing y yanked the marked text into the buffer, p then allowed me to paste the rectangle into a different place. Martin |
Quote:
But I just press CTRL-v (just two fingers) |
anyone can help me!
|
Works for me (learned something new, thanks :)). Could be that your terminal or terminal emulator is intercepting Ctrl+V before it gets to vim (you are posting about vim, not Gvim?). Which terminal or terminal emulator are you using?
|
Quote:
I tried vim and gvim.Neither of them worked! |
To use visual BLOCK mode, press Ctrl+V, not Ctrl+v
If that doesn't work, maybe your Ctrl-key is "stuck" or broken? Cheers, Tink |
Which terminal or terminal emulator are you using?
|
In my Sabayon box vim 7.3 does the visual block copy using CTRL-v (without the need to use shift or caps lock first).
|
Quote:
|
Have you tried CTRL-ALT-v as suggested here http://vimdoc.sourceforge.net/htmldo...-V-alternative
Martin |
Quote:
How can I know what terminal or terminal emulator am I using? |
All times are GMT -5. The time now is 04:54 PM. |