Skip to main content

Questions tagged [textmate]

A commercial text editor for OS X

Filter by
Sorted by
Tagged with
81 votes
15 answers
41k 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 ...
Brock Woolf's user avatar
  • 1,906
27 votes
2 answers
189k views

Is it possible to use NOT in a regular expression in TextMate?

I have a Matlab project which I'm working on in the OSX editor TextMate. I need to find all instances of a certain word, let's say it's "foo", that is not either preceded by a "." or succeeded by a "/"...
Nagel's user avatar
  • 557
19 votes
3 answers
14k views

How can I let TextMate show line numbers when I'm coding C++?

How can I let TextMate show line numbers when I'm coding C++?
Don Lun's user avatar
  • 293
17 votes
2 answers
12k 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 ...
16 votes
2 answers
3k views

Clickable Links in Textmate?

How can I get a link to be clickable in PlainText in Textmate. Currently it gets underlined, but is not clickable.
Dan Rosenstark's user avatar
14 votes
2 answers
5k 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?
Ferruccio's user avatar
  • 881
13 votes
2 answers
11k 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 ...
yegor256's user avatar
  • 1,681
13 votes
5 answers
10k 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 ...
Yoga's user avatar
  • 609
12 votes
4 answers
13k 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 ...
picardo's user avatar
  • 2,577
11 votes
2 answers
6k 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?
Paul Tarjan's user avatar
10 votes
10 answers
11k views

Text Editor that hilights all instances of selection for Mac [closed]

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 ...
jedierikb's user avatar
  • 529
10 votes
4 answers
32k 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 ...
Hugh Jamps's user avatar
9 votes
2 answers
5k 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 ...
Yuval's user avatar
  • 2,268
9 votes
3 answers
8k 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?
machinaut's user avatar
  • 193
8 votes
3 answers
7k 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?
Matthew Rankin's user avatar
8 votes
3 answers
119k views

How do I read a text file's hidden characters?

I've created a text file from an application that I developed. When I send the text file to a SYSTEM validation, they (third-party system) say that the file is invalid and that the file contains ...
balexandre's user avatar
8 votes
3 answers
5k views

Is there a way to line wrap selected text in TextMate?

I sometimes write long comments in my code. I hate manually wrapping them after 80 characters, and rewrapping them if I edit the comment. Is there a way (or a bundle) that will apply an 80 character ...
Matt's user avatar
  • 193
7 votes
2 answers
2k views

how to insert the date and time with a shortcut in textmate?

I would like to insert the current date and time pressing a single key shortcut in TextMate. Any ideas how?
Alex. S.'s user avatar
  • 186
7 votes
3 answers
2k views

Open several windows of the same file in Textmate?

do you know how can one in Textmate open several windows for the same file? So I can at the same time look and compare different parts of the same file.
Open the way's user avatar
  • 8,733
6 votes
3 answers
3k views

TextMate creates temporary files, and doesn't delete them!

I'm using TextMate and each time I edit a file, a copy like ._file is created. This is driving my crazy and last time it create a serious problem on some app I'm using which believe it that file was ...
OscarRyz's user avatar
  • 4,131
6 votes
4 answers
4k views

Textmate not opening at all on Mac OS X

This is a very simple and strange error - TextMate is not opening at all. I have a license fully paid for, I checked my Mac OS X activity monitor and there is no TextMate process running. Is there a ...
sscirrus's user avatar
  • 657
6 votes
1 answer
2k views

Textmate: How to export Themes?

I created a new theme in textmate in preferences->fonts & colors, and I would like to share it with my friend. But I don't know how to export it. It would be logical to save my theme ...
Adam Halasz's user avatar
5 votes
2 answers
3k views

Textmate: regular expression to replace matches preserving case?

How can I use a single search / replace to replace all words town with village preserving the case of the first letter in this sentence: Towns are small cities. I live in a town.
cwd's user avatar
  • 18.2k
5 votes
1 answer
484 views

Textmate single quotes autoclosure

I’m using TextMate 1.5.10 on OS X Lion, and for some weird reason I don‘t get autocomplete for single quotes ('). Double quotes (") work fine. Since I personally prefer to use single quotes whenever ...
Arnold's user avatar
  • 861
5 votes
1 answer
12k views

How do you access clipboard history in MacOS

I am using MacOS Yosemite (10.10.5). All the questions I find about clipboard history in StackExchange suggest that you have to install a third party app to acquire this feature. But when I use the ...
albe's user avatar
  • 191
5 votes
3 answers
5k views

Is there an Alternative to TextMate's mate and rmate for Windows?

As part of the upcoming TextMate 2 release, there will be a new feature called rmate, which will allow you to edit files from a remote machine (Linux/Unix/OSX) via SSH using your local copy of ...
TiernanO's user avatar
  • 698
5 votes
1 answer
2k views

Open file in New Window in Textmate

Is there an easy way to open a file in a new window (as opposed to a new tab) in Textmate? The wokraround I've been using is to open the project in a second window, but there must be a better way?
Euwyn's user avatar
  • 439
5 votes
0 answers
1k 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 1 ...
davidcondrey's user avatar
  • 1,688
4 votes
9 answers
10k views

Programmer's text editor with vertical split view for Mac OS X

I have been using TextMate 'til now, but I am missing exactly one feature: vertical split view. I know that Coda supports it, but I am not a big fan of a huge IDE which changes my workflow too much – ...
Spectator's user avatar
4 votes
1 answer
4k views

Is it possible to run JavaScript in Textmate?

If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
oalo's user avatar
  • 161
4 votes
2 answers
34k views

Invert regular expression match in TextMate

I have this string: goose goose goose random goose goose test goose goose goose I'm using regular expression in TextMate to find any word that isn't goose. therefore random and test. So I tried ...
luciano's user avatar
  • 359
4 votes
1 answer
3k views

How to adjust indentation in TextMate

In TextMate I'd like to adjust the number of spaces added for indentation for JavaScript, CSS and PHP files. I found the bundle editor where I think this should be done, but I don't understand waht do ...
BetaRide's user avatar
  • 2,349
4 votes
2 answers
3k views

How can I set the print font-size in Textmate?

I've opened a text file in Textmate, and when I get ready to print it the font size is enormous. Not much fits on one page, even though it is just code with a fixed with. I can copy and paste it into ...
cwd's user avatar
  • 18.2k
4 votes
2 answers
3k 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 (...
prosseek's user avatar
  • 5,964
4 votes
2 answers
4k views

Shell Window within Textmate

Is there a TextMate Plugin that provides a simple shell window within the editor window? I use the "Missing Drawer" plugin, which replaces the built-in project drawer, so i guess that it is basically ...
Patrick Oscity's user avatar
4 votes
1 answer
101 views

Upgrade/downgrade quotes in Textmate

Let's say I have this text: "stringy thingy" Is there a Textmate command or bundle that lets me place my cursor inside the quotes, press a command key sequence, and it will automatically change this ...
Karew's user avatar
  • 143
4 votes
3 answers
4k 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 ...
Yahel's user avatar
  • 141
4 votes
1 answer
440 views

Select Word boundaries in TextMate

The command Select Word in TextMate considers certain characters to be word boundaries. The most frustrating is - [hyphen] which makes variables that contain a hyphen to be unselectable. Less ...
AK.'s user avatar
  • 588
4 votes
1 answer
7k 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 ...
user avatar
4 votes
1 answer
126 views

Open Textmate with drawer hidden?

When I open a folder with textmate, either from finder, quicksilver, or the shell addon (mate), the project drawer pops up. Is there a way this can be hidden by default?
cwd's user avatar
  • 18.2k
4 votes
0 answers
547 views

Textmate 2: Open files from Finder or Terminal in new tabs instead of new windows?

Textmate 2 Users, I have a nagging issue with TM2 that I can't seem to find an answer for. I have set my 'Projects' folder to my user home directory (~). Now, if I open a file with the TM file ...
error_404's user avatar
3 votes
4 answers
10k views

On a Mac, how do you start TextEdit or TextMate from a shell? (bash)

I tried and the only way seemed like typing in /Applications/TextEdit.app/Contents/MacOS/TextEdit in a bash shell. But even when I close the application, it is not considered an exit. I need to go ...
nonopolarity's user avatar
  • 9,696
3 votes
2 answers
939 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, ...
Sergio Tulentsev's user avatar
3 votes
2 answers
3k 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.
whatbird's user avatar
  • 133
3 votes
4 answers
9k 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 ...
Ansd's user avatar
  • 203
3 votes
3 answers
2k views

Run a script on save in textmate

I was wondering if it was possible to run a custom script on save based on certain file names in textmate. For example I'd like to auto compile a C program sometime on save.
user avatar
3 votes
1 answer
451 views

Multiple background colors in Emacs?

I'm trying to get my emacs color scheme set up like I have it in Textmate. Currently, variables, methods, and comments have a different background color than the main body. See the following link for ...
michaelmichael's user avatar
3 votes
2 answers
418 views

In TextMate, how do I position the cursor inside a newly generated HTML tag?

I came from the Windows TextMate clone e-texteditor. And in that app, and set to Ruby on Rails bundle while in an .html.erb document, if I was to type Ctrl-Alt-W (equivalent to Ctrl-Shift-W in ...
Nik So's user avatar
  • 599
3 votes
2 answers
1k views

Per directory ignore in TextMate

I love idea of TextMate that any directory opened in it is already a project. But sometimes I it would be good to ignore files for certain dir and I don't like idea of creating project file in that ...
tig's user avatar
  • 4,754
3 votes
2 answers
3k views

Textmate - don't even use soft tabs

I've just moved to Mac and am trying out TextMate, so I'm not familiar with bundle config etc. Is there a way to make TextMate just use spaces, rather than soft tabs, for all file types? For example: ...
Andy's user avatar
  • 193

1
2 3 4 5