Questions tagged [textmate]

A commercial text editor for OS X

Filter by
Sorted by
Tagged with
0 votes
1 answer
85 views

TextMate2: Disable soft wrap within Python COMMENTS

TextMate version 2.0.23 MacOS 12.4 (21F79) The default behavior for Python COMMENTS in TextMate2 seems to be to "soft wrap" (and also indent): I do not want this behavior. I want to ...
Todd Ditchendorf's user avatar
0 votes
0 answers
159 views

Text file possibly corrupted

I have a .tex (LaTeX) file that now ends basically like this when I open it in a text editor (VS Code / Textmate): we may write $x=\ep\x73\x20\x65\x64\x67\x65\x20\x24\x65\x5F\x69\x24\x20\x63\x6F\x6E\...
Bjørn Kjos-Hanssen's user avatar
2 votes
2 answers
341 views

How to force-close (discard) all open documents in Preview and/or TextMate?

I have this issue with both Preview and TextMate, and maybe there's a common solution to this, if not, feel free to direct me to fixing one or the other. I have literally years' worth (hundreds and ...
Ben Zotto's user avatar
  • 153
1 vote
2 answers
204 views

How to replace "35yrs" with "35 yrs" using regular expressions?

I have a list that looks like this: 35yrs 74 yrs 40yrs 24yrs 36 yrs I want to use regular expressions (in Textmate) to make the list look like this: 35 yrs 74 yrs 40 yrs 24 yrs 36 yrs I have the ...
rachelvsamuel's user avatar
1 vote
0 answers
318 views

How to Merge Textmate Windows?

I accidentally double-clicked the tab header, and TextMate moved the tab into a separate window. Is there some way to merge it back or disable the doubleclick nonsense altogether? I know about "Window"...
SmugLispWeenie's user avatar
1 vote
2 answers
526 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 ...
Collin Allen's user avatar
  • 1,245
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
4 votes
2 answers
33k 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
1 vote
1 answer
820 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 ...
Tom Granot's user avatar
0 votes
1 answer
969 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?
Prasad Parab's user avatar
0 votes
1 answer
192 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....
Wilco's user avatar
  • 651
1 vote
1 answer
127 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..
MultiformeIngegno's user avatar
0 votes
1 answer
66 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 ...
Paul Patterson's user avatar
0 votes
0 answers
773 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 "...
Léo Léopold Hertz 준영's user avatar
0 votes
0 answers
430 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 ...
mralexgray's user avatar
1 vote
0 answers
130 views

To compile Pandoc Table in Editor by selection

Pandoc table in Tex document based on this discussion --------------------------------------------------------------------------------- ...
Léo Léopold Hertz 준영's user avatar
0 votes
1 answer
113 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 ...
Lex Podgorny's user avatar
4 votes
0 answers
529 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
0 votes
1 answer
1k 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 ...
pkamb's user avatar
  • 4,335
0 votes
1 answer
363 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 ...
jww's user avatar
  • 12.1k
0 votes
1 answer
109 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 ...
jww's user avatar
  • 12.1k
5 votes
0 answers
991 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,658
1 vote
1 answer
153 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 ...
WestCoastProjects's user avatar
1 vote
1 answer
77 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 ...
Doz's user avatar
  • 496
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
0 votes
1 answer
50 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 ...
Will Richardson's user avatar
0 votes
1 answer
160 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 ...
Simone Carletti's user avatar
1 vote
1 answer
296 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?
Yoga's user avatar
  • 589
0 votes
1 answer
613 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"> $("...
Josh's user avatar
  • 103
1 vote
0 answers
466 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) ?
malfroid's user avatar
1 vote
0 answers
75 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 = ...
Arup Rakshit's user avatar
1 vote
2 answers
5k 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 ...
user avatar
0 votes
1 answer
131 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 = ...
muirbot's user avatar
  • 101
0 votes
0 answers
73 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 ...
JoaoHornburg's user avatar
2 votes
1 answer
2k 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 ...
Manuel's user avatar
  • 333
0 votes
1 answer
132 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 ...
MachineElf's user avatar
1 vote
0 answers
45 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 ...
Aaron's user avatar
  • 111
2 votes
2 answers
365 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?
Chris's user avatar
  • 133
1 vote
0 answers
112 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", ...
donbro's user avatar
  • 11
0 votes
1 answer
52 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 ...
Trip's user avatar
  • 719
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
  • 589
2 votes
2 answers
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 ...
cwd's user avatar
  • 18.1k
0 votes
1 answer
328 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.
Guanlun's user avatar
  • 101
1 vote
1 answer
684 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 ...
bodacious's user avatar
  • 203
27 votes
2 answers
188k 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
3 votes
2 answers
938 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
2 votes
0 answers
479 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, ...
cwd's user avatar
  • 18.1k
0 votes
1 answer
33 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 ...
cwd's user avatar
  • 18.1k
3 votes
1 answer
730 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? ...
cwd's user avatar
  • 18.1k
1 vote
1 answer
1k 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 ...
cwd's user avatar
  • 18.1k

1
2 3 4 5