On 09/04/09 09:36, John Orr wrote: > > Thanks Tony and Matt for your thoughts. > > I agree that using mswin.vim is kind of flirting with danger - the main > reason I used it was for the ctrl-x/c/v mappings which can be a simple way > to access the clipboard - but I created my own version yesterday, to > remove some fat I didn't want. [...]
The problem with Ctrl-X/C/V to access the clipboard in Vim is that they conflict with well-established Vim key bindings -- so much so that Ctrl-Q had to be introduced as a kind of "surrogate Ctrl-V". Ctrl-X in Insert mode is a prefix to many kinds of useful completions, and Ctrl-C is of course "Stop, I goofed". The Clipboard in Vim is register + (usable in Normal mode as "+y "+d "+p "+P , in Ex mode as :[range]y+ :[range]d+ :[range]put+ and as @+ in a :let or an expression; however as long as you aren't famliar with that way of accessing it, you can use Edit=>Cut, Edit=>Paste and Edit=>Copy just like in Windows (and it is even possible to enable menus in Console mode in Vim -- I think I've mentioned how a week or two ago in a post about something else). Best regards, Tony. -- 'Twas midnight, and the UNIX hacks Did gyre and gimble in their cave All mimsy was the CS-VAX And Cory raths outgrabe. "Beware the software rot, my son! The faults that bite, the jobs that thrash! Beware the broken pipe, and shun The frumious system crash!" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
