Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [textmate]

A commercial text editor for OS X

0
votes
0answers
11 views

Textmate - PHP Syntax check no longer working

I'm still using TextMate V1, but I can't do a PHP syntax check anymore. After triggering the check with Ctrl-Shift-v I get an error, apparently from the Ruby runtime. What can I do to narrow down the ...
0
votes
0answers
15 views

Associate Sublime Text or Textmate with SQL for OS X's QuickLook

Is there a way to have OS X's QuickLook use Sublime Text or Textmate with files that end with .sql extension? I've associated the extension with Sublime Text: However, using the space bar to invoke ...
1
vote
1answer
107 views

How can I embed additional languages in TextMate 2's “HTML” bundle?

TextMate 2's "HTML" bundle ships with built-in support for highlighting HTML tags, the contents of CSS <style> tags, and the contents of JavaScript <script> tags. However, I'd like to ...
1
vote
1answer
2k 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
144 views

Connecting to ubuntu runnning rmate via multiple machines on the same network

I've got an ubuntu server with rmate installed (that's a nice little package that lets you ssh to a server and edit remote files on your TextMate, locally). The original setup claims it supports ...
0
votes
1answer
141 views

TextMate restore last session/remember opened files

How do I configure TextMate text editor to remember and open tabs which were opened when when TextMate was previously run?
0
votes
1answer
83 views

How do I configure TextMate to source ~/.bashrc when executing shell scripts?

Currently when I attempt to use the Shell Script bundle in TextMate to execute an open shell script, it uses its own environment variables and does not source my user's ~/.bashrc file before execution....
1
vote
1answer
83 views

Textmate: .* regex not working

I'm trying to find strings using this simple regex on TextMate but it's not matching anything: <a.*href=".*"> It's weird because I tried on sits like regexpal and it's indeed fine..
0
votes
1answer
38 views

Where does TextMate2 store the icons it uses to represent specific file-types?

When you save a TextMate 2 document with a .py extension the window's title acquires a Python icon that I've only ever seen in TextMate: Does anyone know where this icon, and the icons associated ...
0
votes
0answers
279 views

Textmate theme for Chromebook's Caret?

I am trying to get TextMate's like colors (dark variant) to Chromebook's Caret. I did in Settings > User Preferences: { //If you want to disable update checks at startup, change this "...
0
votes
0answers
177 views

How to use TextMate 2's Find “In” Regular Expressions?

Ok, here is a scenario, in pictures. OK, so searching all files looks in 333 files, and finds 614 matches. First result is alex/init.zsh. Fine. So I try to limit the scope a bit, with my logical ...
1
vote
0answers
101 views

To compile Pandoc Table in Editor by selection

Pandoc table in Tex document based on this discussion --------------------------------------------------------------------------------- ...
0
votes
1answer
67 views

Sublime text – configuration to focus selections right away while searching

Transitioning from Textmate to Sublime text and sorely missing one feature: In textmate, when searching for "sometext" in a single file, "Cmd–g" sets focus to selection, so that you can edit current ...
2
votes
0answers
275 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 ...
0
votes
1answer
883 views

How to replicate the “Move to Dropbox” Mac OS X Finder context menu item for other apps?

When Dropbox is installed on Mac OS X, it installs a "Move to Dropbox" context menu item: I would like to install a similar menu item for other apps and actions. Specifically, I would like an "Open ...
0
votes
1answer
252 views

Set print margins in Textmate?

I'm using OS X 10.8.5 with TextMate 2.0-beta.6. I want to print a text document, but it appears there are no margins (or the margins are too small for my taste): I visited Textmate's Page Setup, but ...
0
votes
1answer
59 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 (such ...
4
votes
0answers
660 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 ...
0
votes
1answer
68 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 ...
1
vote
1answer
39 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 ...
4
votes
1answer
5k 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
43 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
98 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 ...
1
vote
1answer
208 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?
0
votes
1answer
579 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"> $("...
1
vote
0answers
412 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) ?
1
vote
0answers
58 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
2answers
3k 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
67 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
60 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
1answer
1k 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
119 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
40 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 ...
2
votes
2answers
342 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
0answers
78 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", ...
0
votes
1answer
29 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 ...
7
votes
5answers
7k 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 ...
2
votes
2answers
2k 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 ...
0
votes
1answer
241 views

How to remove TextMate plugin

I install viMate (a vi keybinding plugin for TextMate) but now I want to remove it from my TextMate. I tried reinstalling TextMate but it didn't work. Can someone help with this? Thanks in advance.
1
vote
1answer
639 views

How can I set TextMate as the default application when clicking on filenames in iTerm?

I'm using iTerm as my default bash shell with Mountain Lion One of the features is when you click on a file name in the shell, it opens it in a TextEditor. At the moment though, each time I click a ...
15
votes
2answers
59k 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 "/"...
3
votes
2answers
918 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, ...
2
votes
0answers
431 views

What syntax highlighting should I use for a Nagios configuration file?

What syntax highlighting should I use with nagios configuration files? Textmate has a lot of options for syntax highlighting but I can't find one that works. I've tried using the Apache2 syntax, ...
0
votes
1answer
26 views

How can I disable the colors dialog for Texmate?

I often edit a webpage in HTML and then switch to Chrome to preview it. In chrome to activate the web inspector you can use Command+Shift+C but if you're in Textmate that will pull up the colors ...
3
votes
1answer
580 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? ...
1
vote
1answer
791 views

Can I set a background image in the Textmate editor window?

In TextMate I can set the background color, and background opacity, but is it possible to use an image as the background - like in iTerm2? If not, are there any external programs which I could use to ...
1
vote
1answer
2k 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
1answer
219 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
1answer
225 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 ...