* Eric Smith on Thursday, August 13, 2009:
> I am using this mapping (to attach files with mutt)
> 1G}Oattach: \p<Esc>
> The \p invokes screenpastePlugin.vim
>
> What a joy after years of fiddly keystrokes, but now I am getting
> Greedy: When I have more than one filename in the screen buffer,
> them so that they are all prepended
> how do I make an array of these so that each is prepended
> with "\nattach: "
>
> Usually the filenames in the buffer are separated by newlines.
nnoremap sp :1ScreenPut!<CR>:sil,0s/^/Attach: /<CR>
Also not relying on the default \p binding might be a good idea.
c
--
\black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_
Ein deutscher Western/A German Western
--->> http://www.blacktrash.org/underdogma/ccc.php
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---