In emacs, if I wanted to prepend a bunch of lines with some text (say, put '\item ' in front of an enumeration), I could say C-x r t, and after typing '\item', this text would show up in every column I marked previously. Is this also possible with FTE?
Thanks,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
emacs isn't just an editor - it's an operating system ;-) It has key combinations to make every possible desirable action simple. The cost to this? A bazillion key combinations to remember. Either that, or you don't even know that it can do something, and you do it the "long" way.
FTE is a bit simpler than that. Which means it may take a bit longer to do some of the more esoteric things, but not much.
There are a few ways to do this. Probably the most straight-forward is to just highlight the block, move back to the top of the block, and do a search&replace. You want to search for '^', and replace with '\item ' (both without the quotes), and then the options you want are x (regex), b (block), a (all), and n (no ask). Though I rarely use n - instead I hit enter for each replacement about to be done, just to verify things.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-08-04
Thank you tanktalus!
But If emacs were an operating system, it were to be branded by the redmond guy's logo, wouldn't it? ;-)
One small question: I didn't really dig deep in fte's configuration language, but I guess there's some way to define 'macros' (what ever that means in fte's context). Would it be possible to write such a macro in fte's language and assign it a key?
Thanks again,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the probably silly question ...
In emacs, if I wanted to prepend a bunch of lines with some text (say, put '\item ' in front of an enumeration), I could say C-x r t, and after typing '\item', this text would show up in every column I marked previously. Is this also possible with FTE?
Thanks,
Paul
emacs isn't just an editor - it's an operating system ;-) It has key combinations to make every possible desirable action simple. The cost to this? A bazillion key combinations to remember. Either that, or you don't even know that it can do something, and you do it the "long" way.
FTE is a bit simpler than that. Which means it may take a bit longer to do some of the more esoteric things, but not much.
There are a few ways to do this. Probably the most straight-forward is to just highlight the block, move back to the top of the block, and do a search&replace. You want to search for '^', and replace with '\item ' (both without the quotes), and then the options you want are x (regex), b (block), a (all), and n (no ask). Though I rarely use n - instead I hit enter for each replacement about to be done, just to verify things.
Thank you tanktalus!
But If emacs were an operating system, it were to be branded by the redmond guy's logo, wouldn't it? ;-)
One small question: I didn't really dig deep in fte's configuration language, but I guess there's some way to define 'macros' (what ever that means in fte's context). Would it be possible to write such a macro in fte's language and assign it a key?
Thanks again,
Paul