A commercial text editor for OS X

learn more… | top users | synonyms

1
vote
0answers
49 views

Can Textmate detect file type before saving?

Is there a way to make Textmate recognize the file type automatically before saving? I often create a new file for the purposes of quickly testing code and it would be nice if I didn't have to select ...
7
votes
4answers
15k views

How do I make Vim beautiful (read: Textmate font/color ) on Mac OS X Lion? [closed]

I am just starting to make the Textmate to Vim switch. I love it, but it's so ugly. I'm running Mac OS X Lion and needed Ruby support so I am using Vim 7.3 as installed via Homebrew not the Vim Lion ...
4
votes
3answers
1k views

In Vim's insert mode, how can you go to the end of the line and insert a newline?

In TextMate, when you're not at the end of a line and you want to enter a newline, you can type Cmd-Return. Is there an equivalent for this in Vim, when you're in insert mode?
0
votes
0answers
16 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 ...
0
votes
1answer
31 views

Open file as text?

I'm working on a MacBook Pro with 10.8.5 (fully patched). I'm trying to add a new platform to OpenSSL's Configure script (Android, x86): I right click on Configure and browse to an text editor ...
3
votes
2answers
3k 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 ...
0
votes
1answer
20 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 ...
1
vote
1answer
56 views

Constantly seeing a Textmate pop up message

Every time I boot my Mac I see this Textmate popup: What is it and how do I kill it?
0
votes
1answer
197 views

TextMate can't autocomplete jquery methods by pressing esc?

I'm using TextMate (mac), I was told that this app can autocomplete jQuery methods or functions by pressing the esc key. I have the script tag like this: <script type="text/javascript"> ...
0
votes
0answers
20 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
vote
0answers
150 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) ?
2
votes
0answers
95 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 ...
5
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
23 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
67 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
948 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
623 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
1answer
34 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
43 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
270 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
164 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
280 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
294 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 ...
2
votes
3answers
1k 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
4k 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
8k 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
72 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?
7
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
46 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
197 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
191 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
765 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 = ...
3
votes
2answers
904 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
9k 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
685 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
2k 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
393 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
95 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
35 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
198 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?
1
vote
1answer
426 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
42 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
26 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
50 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", ...