On Jul 15, 8:00 am, <[email protected]> wrote: > Hello, > > I d like to yank the currently visual selected text into register c through > the command line . > I tried this: > > :'<,'>normal "cy > > and this (removing the automatically inserted area in front of the command) > > :normal "cy > > but register c is not touched. > > How can I do this yank? >
Why do you want to do it from the command line? The command line exists visual mode as soon as you enter it, which could be your problem. Just try "yc and it will yank your current visual selection. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
