A commercial text editor for OS X

learn more… | top users | synonyms

0
votes
0answers
5 views

OSX - How can I make Textmate 2 automatically close the previous output window

On my old computer, when I use Command-R to run a python script in Textmate 2, it opens an output window. If I run the script again, Textmate closes the previous terminal window and creates a new one. ...
-1
votes
0answers
18 views

How to retrieve last version of file in Mac OS X? [duplicate]

I just made a very bad mistake. I compiled my C++ source file and wrote the binary back to my source file, like: g++ program.cpp -o program.cpp So now my program.cpp is just my binary and my source ...
1
vote
0answers
117 views

Show the file browser by default

In Textmate 2, is it possible to show the file browser by default in general (with a defaults write ... terminal command) or in a certain project (in a .tm_properties file) ?
0
votes
0answers
10 views

Redmine Wiki (Texttile) Bullet points in Table cell

Is there any way to write a bullet pointed list within a cell in a Texttile formatted Redmine Wiki The basic table syntax is | Col 1R1 | Col 2R1 | | Col 1R2 | Col 2R2 | Bullet syntax is * Bullet ...
0
votes
0answers
7 views

Modify appearance of invisibles in BBEdit

Is it possible to alter the characters that BBEdit uses to present invisibles? I'd like BBEdit to display invisibles identical to the way Textmate does. Textmate does not display spaces and displays ...
6
votes
7answers
2k views

Text Editor that hilights all instances of selection for Mac

On Windows, I use Notepad++ which has the great feature of when I select a word, all instances of that word are also highlighted in the same document. I have found it very helpful for finding ...
0
votes
1answer
12 views

TextMate does not allow accessing menu bar using the keyboard

TextMate does not allow access to menu items by the keyboard. As soon as the menu bar is activated, TextMate editor reclaims the focus. So no opportunity to select the menus. I have tried various key ...
3
votes
1answer
445 views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
3
votes
1answer
58 views

Textmate: Start with project drawer open AND files open

Is there a way to start a new instance of Textmate with the project drawer open AND 1 or more files open? It is acceptable if the files or project drawer are opened AFTER Textmate starts as long as ...
1
vote
2answers
725 views

TextMate - Recover unsaved files

I was stupid and didn't save 2 textmate documents I was working on. Then my computer froze and I had to restart it. Is there any way to get them back? Is there an autosave file somewhere?
0
votes
2answers
561 views

Tabify / Beautify HTML in Texmate?

How can I "tabify" HTML in Textmate? I've tried selecting all, and then using Cmd+option+[ but it comes out a little weird... If it's not possible to do this in TextMate, if someone could help me ...
0
votes
0answers
11 views

Strange issue with Textmate

i've noticed a strange issue with my TextMate installation. I've tried re-installing TextMate and clearing out preference files but I am still getting this issue: Whenever I use Textmate, and command ...
0
votes
1answer
22 views

Re-enable TextMate 2 alpha Rails 'rocketship' shortcut

After updating to the latest alpha version of TextMate 2, the control - l shortcut no longer inserts a rocketship (=>) Is this an option that can be re-enabled, is there another shortcut that does ...
0
votes
1answer
34 views

TextMate-like bundle editor for Sublime Editor

I know that Sublime Text has packages and also a package manager you can use to install additional bundles. For example, I installed the Go bundle but I'd like to extend it by adding some custom ...
2
votes
2answers
255 views

Alias that allows to edit ~/.bashrc and then “sources” it automatically - Why it doesn't work?

I use MacBook Air with OSX 10.7.2. I would like to create an alias that does the following: Opens TextMate with ~/.bashrc and allows me to edit it Once I close TextMate, "sources" ~/.bashrc (so if ...
1
vote
1answer
153 views

Adding commands to TextMate's LaTeX bundle

I wish to add a host of commands (e.g., \enquote) to TextMate's LaTeX bundle. I wish to do that both for correct colour highlighting and for auto-completion (with the Esc or Tab key). Where is the ...
3
votes
1answer
237 views

How can I select enclosing quotes with TextMate?

In Textmate I can "Select Enclosing Brackets" with Command+Shift+B: How can I set up a similar keyboard shortcut to select everything between the single / double quotes which encompass the cursor? ...
0
votes
1answer
284 views

Textmate: Find and replace across project with contents of one file from said project

I have a regular expression to find the text I want (I wrapped the relevant section in custom tags), and I can do it by hand without much issue, but what I want is a way to automatically find and ...
1
vote
3answers
937 views

How to open file using TextMate with new tab

Everytime i open a file with text mate and it is by default in new window, is it possible to open in new tab so I don't need to mess with the windows? I am using latest textmate2 downloaded from ...
6
votes
1answer
3k views

Why TextMate doesn't replace tabs with spaces?

I'm using the Soft Tabs option in TextMate, but my files still contain TAB characters instead of "4-spaces". This is how it works: I open a file, it contains TABs I turn on the Soft Tabs option I ...
8
votes
4answers
7k views

How to add TextMate to my PATH on Mac?

When you start using TextMate, you are instructed to create an alias for mate='open -a TextMate.app'. But now I am using another program that requires me to add it to the PATH. I'm not sure how to do ...
0
votes
3answers
1k views

How to show indentation guides in TextMate

How do I show indentation guides in TextMate? Anyone knows if there is a bundle for this? There's no setting, obviously.
0
votes
1answer
124 views

TextMate can't autocomplete jquery methods by pressing esc?

I'm using TextMate (mac), I was told that this app can autocomplete jquer methods or functions by pressing the esc key. I have the script tag like this: <script type="text/javascript"> ...
0
votes
1answer
61 views

How to close the Run window in TextMate 2?

In TextMate 2, I can run the current file by pressing CmdR, and it will show in a new area under the text editor. But how can I close it?
5
votes
2answers
1k views

Textmate add multiline text at end of line

In Textmate, I am able to add text to several lines at once by clicking and holding the Option key and dragging with the mouse. say I have the following lines: foo 1: foo 2: foo 3: I can easily ...
1
vote
0answers
42 views

Is Textmate like Ruby Markers “#=>” in notepad++ available?

I use Notepad++ to write Ruby code. Now sometimes to test some Ruby features I used to go IRB to see how that works. Can I get the same flavor in Notepad++ itself,like Textmate editor as below? x = ...
0
votes
0answers
173 views

TextMate: gear menu won't open with Ctrl-Escape

I am trying to open the gear menu when the caret is inside e.g. an 'echo' inside a .php file. Ctrl-Esc does nothing. Can someone think of a way to debug this?
0
votes
1answer
179 views

How to always run the same file in a Python project?

Is there a way to always run the same file in TextMate, when working on a Python project? I always press ⌘+R when editing a random file, forgetting to switch back to the tab containing the main of ...
8
votes
4answers
5k views

How to I use Textmate color themes with vim?

I have a textmate color theme I really like this, But I am a hardcore vim user. Is there an easy (painless) way for me to use this color scheme with vim?
0
votes
2answers
355 views

VIM Editor: File Enconding and Line Endings

When saving files, these are my default settings in TextMate (Mac OS X): File Encoding: UTF8 (recommended) Line Endings: LF (recommended) How can I set VIM to save files with the same file encoding ...
0
votes
1answer
35 views

Can textmate sort my code into readable columns?

I like to indent repetitive lines of code so they are easy to look at and see small differences. As an example, this is hard to read: address = "1800 Washington St." name = "George McGoo" user_type = ...
0
votes
0answers
45 views

I can no longer run ruby scripts from textmate

I used to have a setup where I could run ruby scripts directly from textmate, even if I used a set of gems and included them with require 'mygem'. So I have a file ~/.tm_properties which enabled this ...
3
votes
2answers
741 views

TextMate 2: can the file browser [project drawer] be put on the right side?

in TextMate 2, can the file browser be put on the right side? the old textmate solution does not seem to work.
4
votes
2answers
2k views

How do I install the C# TextMate bundle?

I found two C# text mate bundles. csharp-tmbundle: It says, this is the official TextMate bundle, but when I download it, I only get directories, not a .tmbundle file. C# Bundle for TextMate ...
13
votes
2answers
8k views

How do you install & manage TextMate bundles?

In the beginning, there was a canonical SVN repository for TextMate bundles, and the recommended installation unpacked them into a Pristine Bundles folder so that TextMate's bundle manager could save ...
3
votes
2answers
610 views

Is there a way to “Execute and update '# => ' markers” in Sublime Text 2?

This is my most favourite feature from ruby bundle in TextMate. Unfortunately, I can't find how to do the same in ST2. It still inserts the marker when you press TAB after the # symbol, so, I hope, ...
1
vote
3answers
1k views

How to format code in Textmate

I like Textmate but its really driving me crazy when it comes to formatting code whatever the language I'm working with. Is there any way to format code? shortcut, bundle or anything that can help (eg ...
2
votes
2answers
347 views

How can I set a shortcut key for selecting the PHP language in TextMate?

In the bottom of my TextMate window I have a list of languages I can select by using the mouse or hotkeys. For some reason PHP does not have a hotkey associated with it, and I can't figure out where ...
1
vote
2answers
87 views

textmate matlab.tmbundle transpose operator

The matlab.tmbundle for textmate seems to consider a single quote ' as the beginning of a quote instead of the transpose operator. I couldn't really find a solution online and I am dubious that the ...
8
votes
2answers
3k views

TextMate file type association

I would like TextMate to recognize that RDF files are XML and highlight them as such but I can't seem to find a way to do this through the UI. Is there a way to add file extension/type associations?
0
votes
0answers
34 views

Is there a way to make TextMate remember its state when switching branches?

I'm looking for a plugin or bundle which enables TextMate to bind it's state to the current branch. By state I mean open tabs and open folders in the project drawer. Here is my scenario: working on ...
2
votes
2answers
156 views

Lessc Textmate bundle doesn't save .css file

I installed: https://github.com/appden/less.tmbundle and the lessc compiler and it seems to work (no errors) but I don't see a compiled .css file. Any ideas?
0
votes
1answer
297 views

Tweak the TextMate's soft wrap

I don't know if this can be done globally or only in concrete bundles. If so, I'm interested in doing it only in the LaTeX files (LaTeX bundle then). If the solution only works globally, well, no ...
0
votes
1answer
23 views

Would it be possible to open up textmate and multiple specific files at the same time?

I understand from bash I can do : mate name/of/file.ext And if I wanted to open up many files I can do : mate name/of/file.ext other_file.rb some_file.txt But what if I wanted to open an entire ...
0
votes
1answer
32 views

Change Textmate Bookmark Shortcuts

How do I change the Textmate bookmark shortcuts? The default Textmate navigate bookmark shortcuts are F2 / ⇧ + F2. This is not very convenient for me, because on my Mac the function keys are set to ...
1
vote
0answers
25 views

In textmate Is there a way to select the method/function the caret is in?

In textmate, I know I can select a few different things using the built-in select keyboard shortcuts, but I haven't seen any way to select the current method that I am in. I commonly find myself ...
1
vote
0answers
39 views

Clipboard contents are changed without warning by TextMate

If I copy a section of text from Chrome (also Safari, TextEdit, etc.) and look at what is in the clipboard the types listed (this example is for Chrome) are: ( "public.utf8-plain-text", ...
3
votes
3answers
2k views

Is there a way to combine multiple TextMate windows?

After files have already been opened in separate windows, is there a way to combine them in TextMate 1.5.9? Or, is there a way to get CyberDuck to open group files edited at the same time as TextMate ...
59
votes
12answers
19k views

Markdown Live Preview Editor?

I am currently using Textmate to create Markdown documents, but it requires me to press CtrlOptionCmd + P everytime I want to 'update' the Markdown output window. Essentially I am using it like a ...
2
votes
2answers
516 views

How can I disable extended keyboard characters in OS X Lion?

I'm using Textmate on OS X Lion and I used to be able to use Shift+Alt+W to "Wrap selection in open/close tags" but this no longer works for me. Instead I get a weird double comma character when I ...