i'm afraid that would interfere with all the window cmds that *are* useful...a good thought, though.
obviously "+ is no trip across the room, but I've yet to find a way to hit that combination w/out leaving the home keys, which is irritating. On Fri, Nov 7, 2008 at 2:02 PM, fritzophrenic <[EMAIL PROTECTED]> wrote: > > > > On Nov 7, 12:42 pm, "Chris Suter" <[EMAIL PROTECTED]> wrote: >> I use split windows constantly and have gotten very accustomed to hitting >> <C-w>. >> For this reason, I've added the following to my .vimrc >> >> nnoremap <C-w>yy "+yy >> nnoremap <C-w>y "+y >> vnoremap <C-w>y "+y >> nnoremap <C-w>dd "+dd >> nnoremap <C-w>d "+d >> vnoremap <C-w>d "+d >> nnoremap <C-w>p "+p >> vnoremap <C-w>p "+p >> nnoremap <C-w>P "+P >> vnoremap <C-w>P "+P >> >> i believe a few of these conflict with (frankly, useless) window >> commands like <C-w>p to go to the previous window. >> >> it would be nice if there were a way to bind <C-w> (or your combo of >> choice) followed by *any* keys that put text in a buffer to put it >> into the system clipboard. >> >> > > How about: > nnoremap <c-w> "+ > > Not really sure what's so hard about "+ though... > > > -- Christopher Suter --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
