Works fine. On Jan 20, 12:27 pm, "Christian Brabandt" <[email protected]> wrote: > On Thu, January 20, 2011 12:17 pm, Matthias Guenther wrote: > > Hey, I have the following text: > > > mediocrity & \ldots & unbedeutender Mensch, m ige Begabung > > mortar & \ldots & M rser, Kelle > > obedient & \ldots & folgsam, f gsam, geh rig > > omniscient & \ldots & allwissend > > piecemeal & \ldots & St ck f r St ck, bruchst ckhaft > > pigeon & \ldots & Taube > > pnedulum & \ldots & Pendel > > prescription & \ldots & Rezept, Verj hrung > > quicksand & \ldots & Treibsand > > quiver & \ldots & der K cher > > reap & \ldots & ernten, m hen > > repugnant & \ldots & abscheulich, absto end, widerw rtig > > resemblance & \ldots & die hnlichkeit > > reverent & \ldots & ehrerbietig, ehrf rchtig > > screwdriver & \ldots & Schraubendreher > > semblance & \ldots & hnlichkeit, Anschein > > shed & \ldots & Baracke, H tte, Fach > > stewardship & \ldots & Verwaltung > > syllabus & \ldots & Auszug, Lehrplan > > tender & \ldots & Angebot, Gebot > > to abdicate & \ldots & abdanken > > to pave & \ldots & befestigen, pflastern > > viable & \ldots & brauchbar, durchf hrbar > > > Through which command (maybe substitute via s/pattern/replace/g) can I > > add backslashes add the end of each line, so that I get the following > > structure: > > > mediocrity & \ldots & unbedeutender Mensch, m ige Begabung \\ > > mortar & \ldots & M rser, Kelle \\ > > obedient & \ldots & folgsam, f gsam, geh rig \\ > > omniscient & \ldots & allwissend \\ > > piecemeal & \ldots & St ck f r St ck, bruchst ckhaft \\ > > ... > > > I need this for tabular items in tex. > > :%s/$/\\\\/ > > You can possibly also add the preceeding space, if you need that as well. > > regards, > Christian
-- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
