[TxMt] Control-L markers

Rob McBroom textmate at skurfer.com
Thu Mar 29 18:39:56 UTC 2007


On Mar 29, 2007, at 6:26 AM, Patrick Gundlach wrote:

> is it possible to insert a ctrl-L (new page) into the current buffer?

If I understand what you're asking, this is the same question I had  
back in November.

   <http://thread.gmane.org/gmane.editors.textmate.general/15799>

You can "type" such things in almost any Cocoa text input area, but  
not in TextMate's editor. A clunky way to do it would be to bring up  
the Find dialog in TextMate, type what you want, copy it, close the  
dialog, then paste the thing into the document.

For example, to insert your ⌃L:

     ⌘F
     ⌃Q
     ⌃L
     ⌘A
     ⌘C
     ⎋
     ⌘V

Also be aware that if a file containing such characters it part of a  
project, TextMate might think it's a binary file.

My conclusion was that this is the one thing I still need vim for.

> And is it possible to make this visible?

You can see that such characters are in a document using ⌥⌘I, but  
you won't be able to identify them. You'll just see a diamond.

> And can I even use some key to behave as 'go to the next/previous  
> page'?

You might be able to make a Macro that searches for a particular string.

---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.






More information about the textmate mailing list