Questions tagged [textmate]
A commercial text editor for OS X
204
questions
2
votes
1
answer
4k
views
Textmate 2: Edit Each Line in Selection
Textmate used to allow selecting multiple lines and doing ⌥ + ⌘ + A to add text to the end of each line.
This no longer seems to work in Textmate 2.
Any ideas if this feature still works?
0
votes
1
answer
234
views
How come TextMate's copy and paste never pastes the way you want it to?
It's 99% of the time indented to the wrong place.
I was curious what I'm missing on how to make it so that I can copy a piece of text, and paste it in the same context of its indentation that was ...
1
vote
1
answer
269
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 ...
1
vote
1
answer
6k
views
How do I use regular expressions in TextMate's find dialog box to search and replace?
I want to replace all the
\caption(.1..)
\caption(.2.)
\caption(.3..)
\caption(.4..)
by
\caption{}
What should I put in the search box?
1
vote
1
answer
153
views
Skype versions higher then 5.x blocking TextMate Scroll - Line up binding
I've a very unpleasant issue. Skype is actually blocking a key binding to be triggered from within TextMate. Let me explain this a bit further.
I noticed that CTRL+ALT+CMD UP didn't trigger Scroll - ...
1
vote
2
answers
150
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 ...
0
votes
1
answer
170
views
Save automatically when focus is lost
How can I enable this feature? See 19.5 in this TextMate Manual
0
votes
1
answer
929
views
Updated LaTeX Bundle for TextMate [closed]
Where can I download an updated version of the LaTeX Bunble for TextMate (I'm still using v.1.5.10). Thanks!
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?
0
votes
0
answers
834
views
Smart Quotes and TextMate
Anyone out there with Macs and the TextMate editor know how to make it save files always in ASCII, and never let it turn on smart quotes, smart dashes, and smart copyright symbol? There's a client I ...
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 ...
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 ...
0
votes
1
answer
124
views
How do I re-enable an "Item" in Bundle Settings for Textmate?
So I went to Bundles -> Edit Bundles and then picked PHP then Settings and this I unchecked Enable this for Indentation Rules, and now I cannot re-enable it because it's greyed out and I cannot ...
2
votes
3
answers
1k
views
Installing a bundle for TextMate
I've downloaded the 30 day trial version of TextMate and wanted to use a plugin for coffeescript.
The instructions for installing the plugin say to go to this directory
cd ~/Library/Application\ ...
1
vote
2
answers
274
views
Is it possible to rearrange commands and snippets inside of a Bundle's Menu Actions in TextMate 2's Bundle Editor (yet)?
In the Bundle Editor in TextMate 1, you could just drag them around to reorder bundle items or put them inside of a sub menu. I don't see any way to do that in TextMate 2.
3
votes
1
answer
944
views
What is the whitespace indicated with a dot in TextMate?
In the screenshot of TextMate below, I turned on "Show Invisibles." What's the whitespace character on the third line?
Text I imported from somewhere has these dot spaces, and I'm trying to figure ...
1
vote
1
answer
710
views
textmate how to insert new line above current line?
is there a keyboard shortcut for inserting a new line above the current line? Kind of the opposite of cmd+return
Thanks!
1
vote
0
answers
81
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 ...
1
vote
0
answers
174
views
Tooltips for custom function signatures in TextMate
I'm using TextMate, and there is a good short key to see "documentation for function call (tooltip)". But it works only for PHP-internal functions.
It would be good to have this functionality for ...
3
votes
1
answer
4k
views
Toggle between column selection and regular selection in Sublime Text 2
In Textmate, I can make a regular multiline selection using the keyboard and switch to column selection mode by pressing the alt (⌥) key.
I have not found a similar way of doing this in Sublime Text ...
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.
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 ...
0
votes
1
answer
86
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.
3
votes
2
answers
831
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 ...
2
votes
1
answer
243
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?
1
vote
0
answers
273
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
1
answer
246
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?
3
votes
2
answers
411
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 ...
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 ...
3
votes
1
answer
1k
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 text? ...
1
vote
1
answer
164
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 ...
3
votes
1
answer
565
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
1
answer
2k
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?
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 ...
1
vote
1
answer
107
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).
According ...
2
votes
2
answers
439
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 I ...
2
votes
1
answer
4k
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 ...
2
votes
4
answers
2k
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
1
answer
2k
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 ...
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.
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?
0
votes
1
answer
88
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
1
answer
320
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
0
answers
78
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
3
answers
405
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
1
answer
95
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 ...
2
votes
1
answer
217
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 ...
3
votes
1
answer
219
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 ...
3
votes
1
answer
710
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 "...
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 (...