Questions tagged [textmate]
A commercial text editor for OS X
204
questions
0
votes
1
answer
66
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 ...
0
votes
0
answers
139
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\...
2
votes
2
answers
224
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 ...
1
vote
2
answers
180
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 ...
1
vote
0
answers
284
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"...
1
vote
2
answers
479
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 ...
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 ...
3
votes
2
answers
31k
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
1
answer
798
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
1
answer
885
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
1
answer
171
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
1
answer
122
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
1
answer
59
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
0
answers
750
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
0
answers
403
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
0
answers
127
views
To compile Pandoc Table in Editor by selection
Pandoc table in Tex document based on this discussion
---------------------------------------------------------------------------------
...
0
votes
1
answer
109
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 ...
4
votes
0
answers
517
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
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 ...
0
votes
1
answer
355
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
1
answer
90
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 ...
5
votes
0
answers
942
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
...
1
vote
1
answer
135
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
1
answer
69
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
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 ...
0
votes
1
answer
49
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
1
answer
156
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
1
answer
290
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
1
answer
609
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
0
answers
458
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
0
answers
70
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 = ...
1
vote
2
answers
4k
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
1
answer
128
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
0
answers
72
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
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 ...
0
votes
1
answer
130
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
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 ...
2
votes
2
answers
363
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
0
answers
107
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
1
answer
44
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 ...
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 ...
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 ...
0
votes
1
answer
325
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
1
answer
679
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 ...
27
votes
2
answers
184k
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
2
answers
937
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
0
answers
476
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
1
answer
32
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
1
answer
715
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
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 ...