Re: Hot-keys
malcolm <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you for the reply, Eric, I have been fiddling around, and have just discovered what the <join lines> function does. :) Thank you very much anyway, Warmest Regards, malcolm Eric Laffoon wrote: > On Tuesday 22 July 2008 5:33:08 am malcolm wrote: > >> Hello, All, >> >> I'm wondering if it's possible to bind a series of key-strokes to a >> hot-key. For example, i have some very large documents to re-format, and >> the lines are very short, so to lengthen them i find it necessary to press >> <end> <space> <del>, but it's easy to mis-stroke and run words together or >> introduce unwanted double-spaces. >> >> Can anyone tell me if it is possible to do this, and maybe - if it is - >> to give me some guidance? >> >> Thank you. >> >> Warmest Regards, >> malcolm >> >> > > Please see the docs regarding Actions. They enable you to create scripts and > bind a key. Now if you stop thinking in terms of keystrokes and think in > terms of what you want to do you could... > > - use sed to replace \n with a space in a selected block (in fact you could > even do this with the find and replace using regexp) > > - use DCOP to move the cursor > > This is really just some of the possiblities. You could create a script that > removes returns unless they are attached to tags for instance. > > > _______________________________________________ Quanta mailing list [email protected] https://mail.kde.org/mailman/listinfo/quanta