Tagged Questions

From the TextMate website: TextMate brings Apple's approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike. It features "snippets" (a ...

learn more… | top users | synonyms

0
votes
1answer
6 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.
0
votes
1answer
12 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 ...
0
votes
1answer
16 views

TextMate 2: How to include dot-files in File Chooser?

I want to be able to choose .gitignore file in "Go to File" window. I have tried to place the following settings in .tm_properties but they do not work. includeFilesInFileChooser = ".gitignore" ...
0
votes
1answer
31 views

Typing a certain key causes TextMate to save the file

Every time I type a T in Textmate, it tries to save the file. Any ideas on how to fix this? I was messing with some bundles yesterday so it might be related to that.
2
votes
1answer
51 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 ...
0
votes
1answer
63 views

How do I create a new snippet in TextMate 2

When I go to Edit Bundles I can't figure out how to create a new snippet
1
vote
0answers
30 views

Command-Right_Arrow and Command-Left_Arrow stopped working in Textmate on OS X Lion 10.7.2

As the title says, I have no clue what has happened, but it's annoying without it. Anyone had this issue and/or know how to fix it?
-2
votes
0answers
42 views

Textmate - C Themes

I'm trying to find a theme for Textmate which specifically targets the ANSI C programming language. Most of the themes for other languages like Ruby pseudo-work, in that they highlight some of the ...
0
votes
0answers
36 views

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

The title says it all :) 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
81 views

wrap selection around … in notepad++

Is there any way to wrap the selected text in ',",),},],> or around any symbol in notepad++? I have looked around all of the plugins but there is nothing similar to what Textmate or eclipse can do.
0
votes
1answer
74 views

global keyboard shortcut to open AckMate on OSX

I'd like to bind a global keyboard shortcut to open AckMate within TextMate, even if I don't have TextMate open (open the most recent project in that case). How can I do this on Mac OSX?
2
votes
2answers
67 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 ...
1
vote
3answers
307 views

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

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 ...
0
votes
0answers
28 views

Modifying Textmate's Python bundle “Run Script (cmd r)” to display full traceback

by default it raises the Error, but omits the actual Traceback e.g. (from Terminal): Traceback (most recent call last): File "~/Documents/test.py", line 504, in <module> assert result == ...
1
vote
1answer
45 views

How can I disable spell checking for a block of text in TextMate?

When I am editing a plain text document and making notes in it, TextMate will put red lines under parts of it which should not be spell checked: How can I disable spell checking for a block of ...
1
vote
1answer
18 views

Can I prevent textmate from auto adding semicolons after colons?

Is there a way to prevent textmate from auto-typing a ; after every : when editing CSS? I still want it to auto add closing brackets and curly braces. Just not semi-colons. I've seen the option in ...
0
votes
1answer
221 views

How to move TextMate 2 output pane to a new window

So I've been trying TextMate 2 out and one of the changes is split panes. Now when I run rspec tests the output appears in a split pane at the bottom of the screen. Has anyone figured out how to move ...
1
vote
1answer
37 views

Is it possible to lose the TextMate Markdown Preview header?

Is it possible to remove the header in TextMate's Markdown Preview mode, or make it smaller? It takes quite a bit of screen space.
2
votes
0answers
106 views

Execute script in Sublime Text 2 (cmd + r in Textmate)

In Textmate I can use CMD + R to run a script (e.g .rb or a shell script). How do I do that in Sublime Text 2?
0
votes
0answers
34 views

Notepad++ version of Textmate Insert open/close tag feature

Is there a plugin (or a way) to edit opening and closing html tags in Notepad++ simultaneously such as the 'Insert open/close tag' feature of Textmate? Edit simultaneously: ...
1
vote
1answer
73 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 ...
1
vote
0answers
47 views

Why TextMate “-w” option doesn't work?

I use MacBook Air with OSX 10.7.2 and TextMate Version 1.5.10 (1631). If I type: mate -w 1.txt and then close TextMate, the shell doesn't return (i.e. I don't get the shell prompt back). ...
1
vote
1answer
88 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 ...
0
votes
1answer
246 views

Vim: FuzzyFinder versus CommandT plugin? [closed]

I've been searching for a "fuzzyfinder" plugin like the "Go to file" option on textmate. I have found two plugins that seems to mimic this function: FuzzyFinder Command-T Does anybody have any ...
0
votes
2answers
116 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.
1
vote
1answer
109 views

How do I use “cin” and “cout” in C++ with TextMate?

I am new to both C++ and TextMate, and I'm running into a problem. When I run my extremely basic "programs" in TextMate using C++, it completely ignores the statement "cout >>" and just either ignores ...
2
votes
2answers
118 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.
1
vote
1answer
109 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?
0
votes
1answer
16 views

How do I import external files by copying them in TextMate?

In TextMate, there is an option to import external files, but it only creates references to those files. How can I copy the files rather than reference them?
2
votes
1answer
49 views

How to open current TextMate file in another application

I'm basically using TextMate only for its project drawer, find in project, and AckMate. What I'd like to do is automatically open the current file in another application (Aquamacs to be specific). Is ...
1
vote
0answers
27 views

Mac text editor that can colour chunks of code?

I'm an avid Textmate user and for the job I'm working on could really do with highlighting large chunks of code. It's a proper soup at the moment and it would be great if I could highlight a chunk and ...
1
vote
3answers
39 views

How do I remove TextMate's temporary files using rm?

Note that I'm not trying to disable the creation of these files. I want to keep them around until I'm ready to commit changes to my source control. The files are scattered throughout many ...
1
vote
1answer
47 views

What are the various ways to manage TextMate bundles?

I find the capabilities and diversity of TextMate bundles to be pretty good, but even in 2011 there doesn't seem to be a great way to sanely manage TextMate bundles, keep things updated, and add and ...
1
vote
0answers
65 views

Focusing the drawer in TextMate on Lion

In Snow Leopard and before, Ctrl-Tab would toggle keyboard focus between the active editing window and the project drawer, so that you could navigate the project tree with the arrow keys, jump to the ...
1
vote
0answers
22 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 ...
2
votes
1answer
57 views

Calculating in TextMate using “Filter Through Command”

I have a line in a file, which I have open in TextMate. I would like to select the line, or rather the content of the line; 54 + 34.43 and have it be replaced with the total sum. I've used the ...
3
votes
1answer
314 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 ...
2
votes
1answer
34 views

No break space is inserted when using multiple line edit in TextMate

I reinstalled the newest TextMate(Version 1.5.10 (1631)) on OS X Lion. It works fine, but when I do multiple line edit and insert space character, I end up having no break space (0xc2 0xa0). Why ...
0
votes
0answers
18 views

Setting TextMate to determine line wrapping based on file type

I use TextMate for everything from writing blog posts to coding in PHP/HTML. How can I toggle line wrapping in TextMate based on the type of file I'm working on? For example, I'd want .txt files to ...
4
votes
1answer
47 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?
1
vote
2answers
45 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 ...
3
votes
1answer
29 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 ...
0
votes
1answer
48 views

TextMate editor window live code return

I'm trying to figure out if there is a way in TextMate that I can send out the code I'm typing on the fly to TextEdit. Maybe some AppleScript or something, any thoughts? Thanks.
2
votes
1answer
80 views

Why do some text editors offer to end your file with a line break? Why is that important?

Why do some text editors such as BBEdit and Textmate offer to end your file with a newline (line break)? Why is that important? Are there any caveats to not ending a file with a line break?
2
votes
1answer
54 views

Textmate single quotes autoclosure

I’m using Textmate 1.5.10 on OSX 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 I ...
0
votes
1answer
108 views

How to use the latest Java from NetBeans 7.0 on TextMate?

Several months ago I downloaded NetBeans 7.0 with All Supported technologies from this page. I find myself on TextMate more often instead of NB when experimenting Java codes, I open NB maybe once in ...
1
vote
2answers
74 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 ...
0
votes
1answer
141 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
109 views

Can I higlight brackets / parenthesis pairings by clicking on them in Textmate?

I recently started using Textmate, and I am loving it. I come from Notepad ++, and there is only one thing I miss: the ability to click on a bracket or parenthesis and highlighting the opening and ...
1
vote
1answer
91 views

How can I type a single quote in Textmate?

Textmate has automatic quotation closure (clojure) and that's great most of the time. But a lot of times I just need to type a single ' or " and as far as I know there is no way to do this - which is ...

1 2 3