I'm getting a bit more into textmate, and, that has brought me to some less
newbie questions, but, things that have been bothering me:
1) Where can I find a list of keyboard shortcuts? The other day I wanted to
comment out a block of text, but had to google to figure out ⌘-/
2) I'm ready to start playing with projects some -- and, from my lurking on
this list, it seems that the default project stuff isn't very capable. What
is a good project bundle to start playing with?
Thanks in advance,
-Dave
How come when println is executed within the Groovy script, the output does
not show carriage return?
println "hello"
println " world"
The output window shows hello world in the same line.
I am using TextMate 1.5.8.
--
View this message in context: http://www.nabble.com/println-has-no-carriage-return-in-Groovy-bundle-tp224…
Sent from the textmate users mailing list archive at Nabble.com.
Let's say I have a project folder open in TM. The folder has already
been initialized with Git, and all the files that are supposed to be
under source control have been added. Let's further say that I've made
some changes to the files "sample.html" and "sample.css," and it's
time for a commit. The sample.css file is the current tab and is the
file I've been editing most recently. I hit Control-Shift-G, the Git
command menu pops up, and I choose Commit. Up pops a browser/message
window with the words
Committing Files in ‘sample.css’ on branch ‘master’
In front of that is a two-paned window. The top pane has a place for
me to type in the commit message, and the bottom shows a list of files
to commit. Even though I've changed both sample.html and sample.css,
only sample.css is in that list.
If I click in the project drawer before pressing Control-Shift-G,
things work the way I think they should: The browser/message window
says
Committing Files in ‘./’ on branch ‘master’
and the two-paned window has both files in the list of files to commit.
Is there a way (apart from clicking in the project drawer) to get the
commit to apply to the entire project instead of just the frontmost
tab?
--
Dr. Drang
I'm sure this can be accomplished with a regular expression but I'm
looking for an easy way to find a whole word. For xample, if I have
these types in a file:
Listener
ClickListener
And I do a find on "Listener", I'll hit both of these, although more
often than not, I want to match only the "whole" word, so just match
the first Listener.
I think this is easy to do by adding word boundaries around your
search (whitespace, ., [, (, {, etc), but I'm wondering if this
functionality is built in as an option that I'm missing.
Thanks-
Robert
I find TextMate's behavior when unindenting (text shift left or cmd-[)
text slightly annoying. Often times the cursor is pretty much at the
end of a line when I decide to unindent. If I need to unindent a
couple of steps, the cursor jumps down one line when the end of line
crosses the cursor position. To prevent this from happening I always
have to move to the beginning of the line before unindenting. I'd
prefer the cursor to simply stay on the line I'm unindenting (Xcode
works this way) no matter which column the cursor is positioned in.
Does anyone know if it is possible to modify/extend/whatever TextMate
to behave like Xcode in this respect?
Thanks in advance
Hello,
i discovered Textmate few weeks ago, and it is a relay great tool. For
drawing electrical circuits in Latex i use the M4 Circuit-Macros.
So i started to create a Textmate bundle for this purpose. Its working
now but i have some problems to set the right language grammar.
So if anyone is interested to help me with this pleas contacted me
br
Tobias
Using the reStructuredText bundle, I keep running into a problem with
TextMate "forgetting" the soft tabs settings I apply to the .rst file
extension.
When I quit TextMate, start it, open my project's folder, then open
a .rst file, it knows my preferred tab size, but it defaults to hard
tabs.
When I switch it to soft tabs, it remembers it for the duration of the
TextMate session. That is, when I close the window for the project,
then reopen it, it still remembers that I prefer soft tabs for .rst
files.
I've even closed TextMate, opened com.macromates.textmate.plist file
with the Property List Editor and made sure that Root/
OakTextViewScopedSoftTabs/text.restructuredtext/softTabs was set to
"Yes", saved it, closed PLE, reopened TextMate, and it still thinks
that I want hard tabs for .rst files.
It doesn't seem to be doing this for other file types. Very
frustrating! I'd gotten used to the habit of letting TextMate
remember my soft tab settings; now I seem to be getting into a
defensive habit of double-checking soft tab settings -- not exactly an
experience I enjoy having spent money for. :)
Any suggestions about what I can do to get TextMate to remember soft
tab settings?
Thanks,
--
Matthew Scott
gldnspud(a)gmail.com
Dear all,
I try to build a scope that matches a text block within a latex
document. The beginning of a text block should be given by a line
containing some text, which is preceded by a blank line (possibly
filled with whitespace characters). Likewise, the end of a text block
is a line containing some text followed by a blank line. So far I
tried to put
{ name = 'meta.paragraph.text.latex';
begin = '\n[^\S\n]*\n[^\S\n]*(?=[^\S\n]*\S)';
end = '(?<=\S)[^\S\n]*\n[^\S\n]*\n';
},
inside the latex language definition, but this didn't work out (simply
putting \n for both regexes works, but does the wrong thing). However,
the beginning regepx matches the beginning of a text block, that is a
line that is preceded by an empty line when I use it in the find
window (and the same for the end of a text block). Can anybody tell me
what I am doing wrong?
Perhaps there is another Scope already doing the job?
Best, Christoph
I've recently switched from subversion to git for my latex projects. I
find git a lot easier to use and it was absolutely painless to switch.
However, I miss the ability to use File Merge to graphically display
changes. (*Very* useful if you are working with multiple authors and
you want to see where text has changed.
The git bundle allows you to compare things, but I would like to use
File Merge instead of the standard window comparing the changes.
Is it possible to set File Merge as default viewer for diff files as
you are with subversion?
Thanks a bunch!
Max
On Mar 5, 2009, at 2:19 PM, textmate-request(a)lists.macromates.com wrote:
> On 3 Mar 2009, at 17:33, Claus wrote:
>>
>
> Yes, the environments (shown via the ?env? command) can differ in many
> ways, in your case it could be that TZ is setup differently for the
> Terminal than TextMate, or maybe it is related to the LC variables?
>
> Can you provide a small example which reproduce the problem?
I've run into this with other applications before. One solution, at
least short term, is to quit out of TextMate and open it using the
Terminal, for instance:
open /Applications/TextMate.app
It should then inherit your shell's environment. See if your script
runs that way.
Hope this helps,
-berto.
I have noticed since the latest update that with the C++ bundle,
comments that I write that are between the function name and the
opening bracket no longer are shown in comment color.
For example,
int foo(int x)
//this comment is not shown in comment color and is instead the
default text color
{
....
}
Is there a way to revert to the old functionality?
Andrew Sapperstein
University of Michigan-Class of 2012
McDonogh School-Class of 2008
Hi,
Is there any way to disable TextMate's behaviour of treating spaces as
tabs in the middle of the line (i.e. after a non-whitespace character
at the beginning of a line)? Say for example I have soft tabs and a
tab size of 2, and have a line of "a <sp> <sp> <sp> b" Using the
keyboard to navigate between the a and the b will always skip at least
one of the spaces and it isn't always easy to tell where the cursor
will jump if you have a larger tab space than that. Is there any way
to disable this behaviour?
Thanks,
Adam
What is the max file size that TM supports?
TextEdit is able to open 267MB file and working smoothly.
However I got an "Out of Memory" error.
There are 3.9GB free memory in the system.
Thanks in advance.
I've been running awk and sort commands on text files via 'Filter
Through Command' for months, on an Intel MacBook Pro, with OSX 10.5
and the current version of TextMate. This week, following an install
of TexLive 2008 (it's the only significant system change I can recall,
but may not be related), when I try to run an awk command (e.g. awk
'{ print $2 }'), bash takes and keeps a full core of the Core2 Duo
CPU, and from what I can see it can only be stopped by a ForceQuit. I
suspect that there's a simple way to debug and resolve this -- can
anyone help me with this?
Thanks in advance -
G
--
Gordon Robertson
Canada's Michael Smith Genome Sciences Centre
Vancouver BC Canada
Hi,
I have some python code that runs fine if I execute it from the
terminal. If I run it from within textmat (cmd-R) I get this error:
IOError: 2, No such file or directory
function main in AMODConv_pathLaufen.py at line 198
t3 = t2.astimezone(pytz.timezone(pytz.country_timezones('de')[0]))
function country_timezones in __init__.py at line 202
zone_tab = open(os.path.join(os.path.dirname(__file__), 'zone.tab'))
Program exited with code #1 after 2.05 seconds.
I guess it has to do with the pytz module?
But why does it run on the terminal?
Can there be a difference between running python on the terminal vs.
from within TextMate?
I am running OS X 10.5.6, TextMate 1.5.8(1498)
TextMate does find the pytz module - at least it displays the pytz
module help after hitting F3.
Thanks for your help,
Claus
Sometimes I am writing code, and I need to go back and quote
something...
foo=$this/$that/$other
What I wanted was this:
foo="$this/$that/$other"
What I end up with is this
foo=""$this/$that/$other
How do I prevent that, I know I can delete one, but it sometimes gets
strange, and puts another one back in, or other oddness. It is really
rough when you are in the middle of a regex string, and it starts
messing with you.
Thanks
--
Scott
I'm working on a command that I'd like to be able to apply to all
files in my project. Looking at the env vars I only see items for
working with the current file. Is there any way to get a list of all
files in the current project?
It is certainly possible this sort of thing is available somewhere in
the shared support ... how do I get more info about what's there?
Thanks!
Hi list:
I'm testing TextMate to write LaTeX documents, so the first thing that
i did was see the screencasts posted on the page by Charliaos Skiadas
-- totally liked.
I downloaded the TextMate v1.5.7 Trial to testit but i can't stop to
realize that the icons that we can see in the Bundle Editor for
(commands, languages, drag commands, etc.) is missing when i click on
the bottom of the windows in the icon on the left of the Tab Size
section.
This is ok, or in this 'menu' should i see the icons?
Thank you very much!
P.S: Great editor!!!!
I am finally trying out git -- the ability to work off-line and still
make commits was what drew me -- but I am having a few difficulties
with the current bundle.
Perhaps the worst one is that I can't seem to get the keyboard
shortcut to work. I can work things by using the menus, but whenever I
use CTRL + SHIFT + g, I get the following tool-tip error message:
/tmp/temp_textmate.pjlEGg:26:in `open': No such file or directory
- pages (Errno::ENOENT)
from /temp/temp_textmate.pjlEGg:26:in `entries'
from /temp/temp_textmate.pjlEGg:26
I have no idea what this means.
Also, I really liked the cool little badges that the SVN bundle
offered that gave you a quick visual take on what files you had worked
on or added. Is there any way to get something similar with git?
john
Hi,
is there a new way to disable auto-indent, other than going through Terminal as
described here a few years ago? I’m new to TextMate 1.5.8 and prefer to code
XHTML without auto-indent. Why not add this option to the "Tab size" pop-up in
the status bar?
Thanks,
Philip
Hi,
I tried to update my bundles using svn as described in the online-manual but
unfortunately I failed.
I started and instaled svn. Then I cd to the bundles directory in
~/Library/Application\ Support/TextMate/ and ran:
svn update *.tmbundle
and received:
Skipped 'AppleScript.tmbundle'
Skipped 'HTML.tmbundle'
Skipped 'NanoBlogger.tmbundle'
Skipped 'Pragmatic Examples.tmbundle'
Now I have 2 questions:
What did I do wrong?
Where are my other bundles.
Thanks for your help.
Greetz
Khushru
The TODO bundle seems to ignore .xml files when run in a project.
If I just open an .xml file with TODOs by itself and run "Show TODO
List" it works. But if I have a project with that same file in it and
run "Show TODO List" it doesn't work.
It does list TODOs in other files,just not .xml
I've tried it as another user, and have also tried removing all my
settings and downloaded bundles as per the troubleshooting 101 page.
TM_TODO_IGNORE is not defined
In Preferences, Advanced, Folder References:
File Pattern = !(/\.(?!htaccess)[^/]*|\.(tmproj|o|pyc)|/Icon\r|/svn-
commit(\.[2-9])?\.tmp)$
Folder Pattern = !.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*
\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
Version is 1.5.8 (1498)
If it helps at all the files as a docbook project with a directory
struture like:
product_version\book_name\Makefile
product_version\book_name\en-US\Book.xml
product_version\book_name\en-US\Chapter.xml
product_version\book_name\de-De\Book.po
product_version\book_name\de-DE\Chapter.po
product_version\book_name\ja-JP\Book.po
product_version\book_name\ja-JP\Chapter.po
Thanks in advance
I just found a problem with TextMate and symlinks. Say I have a regular
file and a symlink to that file. If I open the symlink in TextMate and
save it again, the original file's permissions are changed to those of
the symlink. My umask is set to 0022, so files are created 0644
(rw-r--r--) and directories are created 0755 (rwxr-xr-x). Symlinks are
created with permissions as if they were directories. The end result of
all of this is that if I edit a symlink to a file, the file ends up
getting its execute bits set.
Is there any way to keep this from happening? I don't really want to go
around setting execute permission on arbitrary text files...
MariMac:/tmp/test$ umask
0022
MariMac:/tmp/test$ echo "hello world" > foo
MariMac:/tmp/test$ ln -s foo bar
MariMac:/tmp/test$ ls -l
total 8
lrwxr-xr-x 1 sking wheel 3 2009-03-03 14:10 bar -> foo
-rw-r--r-- 1 sking wheel 12 2009-03-03 14:10 foo
MariMac:/tmp/test$ mate -w bar
MariMac:/tmp/test$ ls -l
total 8
lrwxr-xr-x 1 sking wheel 3 2009-03-03 14:10 bar -> foo*
-rwxr-xr-x 1 sking wheel 24 2009-03-03 14:11 foo*
(Obviously I have "Perform atomic saves" unchecked in the preferences,
otherwise the symlink would get overwritten and the original file
wouldn't be changed.)
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
Hello all, every day I shave a few percentage points off the time I
spend in BBedit, and get closer to 100% in TM.
Today, I am stuck on showing differences. TM has a lot of good tools
to show the differences in a standard `diff`y kind of way.
What I usually find useful, was in BBedit, I could compare the two
most front files, a window would pop out below the files, sort of a
left, right, and bottom frame display. I could then move through the
line differences in the files.
Any way to do this in TM?
--
Scott
* If you contact me off list replace talklists@ with scott@ *
How do you shut off that annoying start up beep? I've tried the Wiki
and the built in help searching for beep. Nothing found in the
preferences either. It's got to be simple but where?
--
Bob Love
"Entropy ain't what it used to be."
Hello,
I recently installed TextMate on a new computer, and I was pleasantly
surprised when I did Bundles->Subversion->Diff->Diff With Newest and
the changes were color coded for add, remove, etc. So my question is,
why does my old installation of Textmate not do this same
highlighting? Both are version 1498.
I actively use both computers, so this is a nice visual aid. Thanks.
Best Regards,
Armon Dadgar
Hi,
A problem that no-one's been able to help me with since the update
still sits un-resolved. Is there anywhere else I can go to try and get
support with this?
It's weird because I feel that I've paid cash for Textmate (which is
fine, I think Textmate is brilliant) and therefore I should expect
actual tech-support. However if it's a problem with a bundle then
maybe that's not Textmate's responsibility and hence I must resort to
the open-source model of posting questions in places, which is fine
until that model of support fails, as in this case.
I guess I'm hoping that there's another forum somewhere that I should
post to, or should I think about submitting a bug somewhere?
Cheers,
Mike Dewar
Love ProjectPlus, but:
I have several projects within the same git tree. Only for one of them
are the git badges displayed in ProjectPlus, not for the others.
Interestingly the icon in the window title always properly reflects
the git state. That is just a tad maddening, anyone found a workaround
for this?
It seems to be related to how the project is opened: via the tmproj it
does not work. It seems to work when opened as folder, but I can't use
that as I have some project-specific settings in the tmproj file which
the build process needs.
Has there been an update since the 1.2 version from 6 months ago?
Thanks
Gerd
I've heard (from lurking on this list) that the default TextMate concept of
projects is a bit lacking.
Given that, which of the multitude of project bundles should I check out --
or -- should I just play with all of them? i.e. Is there
any canonical "best" ?
-Dave
A few months ago, I been successfully using TM for all sorts of Python
scripts. I recently decided to use it again, but now scripts that used to
run perfectly no longer do so. Here is the key: those same scripts still run
perfectly if I run them from XCode, Editra, or if I make the files
executables and run them from Terminal. They only fail in TM.
I have run into two problems. First, this simple one-line script will cause
two error windows to appear:
text = raw_input("--> ")
The first error window says, "The application Python quit unexpectedly. The
problem may have been caused by the tm_interactive_input.dylib plug-in."
The second error window says, "The application tm_dialog2 quit
unexpectedly."
I can paste the error reports here if you want to see them.
The second script that causes problems is this (reduced down to its
essentials):
import pyglet
class Test(pyglet.window.Window):
def __init__(self):
pyglet.window.Window.__init__(self)
def on_draw(self):
self.clear()
test = Test()
pyglet.app.run()
I get this error message:
OSError: dlopen(/System/Library/Frameworks/AGL.framework/AGL, 6): Symbol not
found: _CGLClearDrawable Referenced from:
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo Expected
in: flat namespace
function __getattr__ in __init__.py at line 307
__import__(import_name)
module body in __init__.py at line 133
from pyglet.gl import gl_info
module body in __init__.py at line 99
from pyglet.gl.lib import GLException
module body in lib.py at line 141
from pyglet.gl.lib_agl import link_GL, link_GLU, link_AGL
module body in lib_agl.py at line 51
framework='/System/Library/Frameworks/AGL.framework')
function load_library in lib.py at line 90
return self.load_framework(kwargs['framework'])
function load_framework in lib.py at line 226
lib = ctypes.cdll.LoadLibrary(realpath)
function LoadLibrary in __init__.py at line 408
return self._dlltype(name)
function __init__ in __init__.py at line 325
self._handle = _dlopen(self._name, mode)
That error message makes it seem like a pyglet problem, but again, I get no
errors when running it outside of TM.
I am running Mac OS X 10.5.6 and the cutting edge version of TextMate
(1498), and I completely reinstalled TM after experiencing these errors. I
am using the stock Python that shipped with Leopard (2.5.1) and that's the
version being used by the Python bundle. There were two older MacPorts
versions of Python that were carried over to my Leopard installation, but I
have uninstalled those. I tried setting the TM_PYTHON variable, but it made
no difference.
A simple pure-Python script that doesn't use pyglet or raw_input will run
fine:
class Test(object):
def __init__(self):
print("Hello, World")
test = Test()
Odd. Ideas?
Jim
--
View this message in context: http://www.nabble.com/Python-bundle---2-problems-tp22163059p22163059.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I'm new to Latex with TextMate.
It might be an easy question, but I couldn't figure it out.
Any comments will be thankful.
I placed the caret in \cite{} and press ESC. There was only one beep.
Nothing happend.
After googling the shell variables TM_LATEX_BIB were filled as my local copy
of bib file. - No luck.
After googling again, I placed the bib file in ~/Library/texmf/bibtex/bib. -
Still no luck.
I've read many posts, but still the citation function is not working.
Would you help me out?
Thanks in advance,
SC
Hi all,
What is the proper channel for submitting bugs and/or feature requests
to bundle authors? Should I just contact the developer directly? If
so, where can I find the developer's contact info?
Thanks,
Michael J. I. Jackson
Dear all,
I'm working on a bundle in which their is a command that takes the
current document and splits it in several new ones
based on a set of criteria.
What I would like is for all those new documents that result from the
splitting procedure to be displayed in a project drawer
(even if the original document was not part of any project). The new
files will probably not yet been saved to disk so that's
something the user has to do.
If any of you can give me suggestions on how to do this I would
appreciate it.
Thanks,
Marc
Hello,
I've just got back from holiday to find a TextMate update! After
performing the update - so I'm now at Version 1.5.8 (1498) - my Python
scripts no longer run when I hit cmd-R. The error is:
Program terminated by uncaught signal #11 after 6.26 seconds.
Followed by a Mac OS X "The application Python quit unexpectedly"
dialogue box. I can replicate the problem by creating a file with the
following command:
from scipy import special
(which imports a bunch of slightly odd functions from the scientific
python library, and which can take a few seconds) and then running the
"Run Script" command in the Python bundle.
Running "from scipy import special" in both the python and ipython
terminals, and running the above file from the command line all work
fine.
Can anyone help? I've re-installed Textmate after deleting all the
Library folders I could find, and I've re-installed the Python bundle
from svn. Other scripts work fine, which gives me the impression that
something is timing out, but that's really just a vague impression...
Cheers,
Mike Dewar
The completion for languages is very helpful, so:
ex<option-esc>
-->
explode(string separator, string str, [int limit])
Currently backspacing on a snippet component like "[int limit]" leaves
a broken fn call (unwanted trailing comma), i.e:
explode(string separator, string str,)
Is it possible to alter the generated snippets so that when the user
backspaces on a snippet element in function calls like this, the comma
preceding the unwanted parameter is also eaten, i.e.?
explode(separator, str${1:, ${2:[int limit]}})
instead of
explode(separator, str, ${2:[int limit]}})
It would be great if textmate's macro's were editable and buildable
from the history of events: store each event as a list item, allow it
to be named, copied, added to a library of snippet components, and
deleted from a macro.
Often we do things we wish to repeat, but not exactly as they were
done (usually there are inefficiencies (like copying some text to be
used for replace) which often break the macro as a repeatable
sequence, but if I could choose "macro... from prior actions", then
see a list like
1. copy
2. find and replace (find = <str>, replace = <str>, regex=TRUE)
3. switch documents
4. copy
5. paste
6. copy
7. find and replace (find = <str>, replace = <str>, regex=TRUE)
And then delete all but 2 and 7... bingo: just the events needed
Hello.
I am a newcomer to the world of Textmate having previously designed websites
with Dreamweaver. I love the snippet functionality and have set about
creating loads of my own snippets for speedy XHTML coding.
I've hit a small snag whilst trying to get a regular expression to reproduce
text in two places in my snippet. The problem I am having is trying to tell
it to replace any spaces with say an underscore _ character.
Forgive me if this is easy to do, I am quite new to Regular Expressions and
I'm still feeling my way!
Here is the offending snippet:
<form action="${1:${TM_FILENAME/(.*?)\..*/$1_submit/}}" method="${2:post}"
accept-charset="utf-8">
<fieldset id="${6:${3/[[:alpha:]]+|( )/(?3:_:\L$0)/g}}" ${4:class="${5:}"}>
<legend>${3:enter form name}</legend>
$0
<button type="submit">submit</button><br/>
</fieldset>
</form>
So placeholder number 3 is the legend name and also populates the fieldset
ID. I can easily change the ID manually if it contains spaces, but I thought
it would be really cool if it would just replace them automatically with an
underscore instead.
Any help would be much appreciated!
Kind regards,
Ian
--
View this message in context: http://www.nabble.com/Replacing-a-space-with-an-underscore-in-Snippet-tp221…
Sent from the textmate users mailing list archive at Nabble.com.
Howdy,
I've got a weird bug displaying file paths in Tool Tips as output from
shell commands. The bug is that if a directory in a path ends in an
'l' (el, not one), then both it and the slash are elided in the Tool
Tip display.
For example, I have a simple bundle command that executes "git status"
(that's it; nothing more) and writes the output to a tool tip. In the
example below, I've modified a file named "clusters.py" in a
sub-directory named "util" (i.e. "util/clusters.py"). The tool tip
output of the path will be "uticlusters.py", like this:
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# modified: uticlusters.py
If I execute "git status" from the terminal, I get the correct
"util/clusters.py":
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#
# modified: util/clusters.py
I have had this problem before with other commands, so it's not
specific to git. If I tell the output to go to a New Document or to
Insert As Snippet, then the missing "l/" in the paths show up (using
the same bundle commands). So, it appears to be something weird about
the output going to a Tool Tip. Is there some kind of markup happening
in Tool Tips?
Any help is much appreciated -- I'm afraid I'm a bit out of my league
in this issue.
Jon
Keyboard shortcuts and what fingers?
Hello, been using TM for a litle white now, slowling moving over from
BB. There is a much stronger emphasis on keyboard shortcuts, I was
hoping someone could help me out a little.
I can find data online with regard to what fingers go where for
alphanumeric keys, the option, command, and control keys are largely
not talked about, especially when used in combination.
I do tend to work on the left side of the board, since sometimes I
move to a laptop, and it is missing control and option on the right. I
also use the caps lock as a control, but would not want to rely on
that for being able to move around as well.
"Control Shift <" is is a good example. I am using thumb on control
and ring on shift, then the right hand for the less than. This is a
bit of a stretch, and probably will be bad over time. Maybe index on
control and middle on shift would be better? That combo them requires
me to move my entire wrist down to hit it, which I wh
Or is there some strict rules for ergonomics and RSI prevention that
puts a specific finder on a specific key like the alphanumerics?
Some of these are just hard for me to hit. Control-Option-Shift-H is
a good example, though I only need to use it once.
Any suggestions on how you have all adapted to an app that must use
keyboard shortcuts to truly become powerful, would be apprecitated.
Thanks.
--
Scott
* If you contact me off list replace talklists@ with scott@ *
Hello everybody,
I just spent a few hours wrsetling with a strange bug, so I thought
I'd let you know.
In run_xcode_target.rb the command for executing shell programs is
built in line 295. The environment variables DYLD_FRAMEWORK_PATH and
DYLD_LIBRARY_PATH are set. Instead of setting them, the new
directories should be appended. In my case this caused some of the
libraries I was using to spawn random malloc errors, I guess that is,
because macports uses these paths. I don't know what happened exactly,
but changing the command to appending the new paths instead of setting
them solved my problem and sounds more reasonable anyway.
What do you think,
Cheers, Jonas
Hello.
I am a newcomer to the world of Textmate having previously designed websites
with Dreamweaver. I love the snippet functionality and have set about
creating loads of my own snippets for speedy XHTML coding.
I've hit a small snag whilst trying to get a regular expression to reproduce
text in two places in my snippet. The problem I am having is trying to tell
it to replace any spaces with say an underscore _ character.
Forgive me if this is easy to do, I am quite new to Regular Expressions and
I'm still feeling my way!
Here is the offending snippet:
<form action="${1:${TM_FILENAME/(.*?)\..*/$1_submit/}}" method="${2:post}"
accept-charset="utf-8">
<fieldset id="${6:${3/[[:alpha:]]+|( )/(?3:_:\L$0)/g}}"
${4:class="${5:}"}>
<legend>${3:enter form name}</legend>
$0
<button type="submit">submit</button><br/>
</fieldset>
</form>
So placeholder number 3 is the legend name and also populates the fieldset
ID. I can easily change the ID manually if it contains spaces, but I thought
it would be really cool if it would just replace them automatically with an
underscore instead.
Any help would be much appreciated!
Kind regards,
Ian
--
View this message in context: http://www.nabble.com/Replacing-a-space-with-an-underscore-in-Snippet-tp221…
Sent from the textmate users mailing list archive at Nabble.com.
1. switched the following languages to use a magic heredoc token instead of
a comment
2. there was one way to trigger ruby scope, by have a heredoc token of
*_EVAL
now, there are two options:
a. foobar = <<-RUBY
b. eval <<-FOOBAR # works with eval, module_eval and class_eval
TODO:
* support <<-'HEREDOC' or <<-"HEREDOC" syntax for magic tokens for embedded
languages
* support <<HEREDOC magic tokens for embedded languages
patch is attached, and can be found here: http://pastie.org/394164
Hi,
If I set ProjectPlus sort to show folders on top, the order gets messed
up if I add a file to a project folder outside of TM. When I switch back
to TM the project list updates to show the new file, but the folders are
now mixed in alphabetical order, rather than at the top. I then have to
uncheck "folders on top" and the re-check it to restore the order.
Is this a bug? If I add the file through TM (using the 'add existing
files...' option, this doesn't happen, it's only if I add a file into a
folder that is in the project, and the re-sort happens when TM regains
focus and the project drawer is
redrawn.
Thanks,
Nigel
Hi,
Is it just me? I've got the latest version from Subversion. Erlang
bundle doesn't have any command, like Compile, ... Google says that it
used to have them. Then I just tried TerminalMate bundle and it
crashes with "`initialize': No such file or directory - /Users/dm/
Library/Application Support/TerminalMate/server.bin (Errno::ENOENT)".
Cheers,
D
Hi,
Last week I received an automatic update of TextMate. I think this was
actually the first time since I have been using TextMate for a year or
s. I am now on Version 1.5.8 (1498)
After the update the Focussed Unit Test function of the Ruby bundle
stopped working. When I now run a focussed unit test it will run all
the unit tests.
Has anybody seen the same problem? Do you know how to fix this? I
Googled this problem, but I couldn't find anybody else with the same
problem.
Thanks,
Marco
I have in and got myself an iPhone.
Now I'm wondering if any of you others on the list - who I know share
my love of TM - have ever seen a code editor for these slices of
loveliness?
I should point out that I have already installed iSSH, so I can use vi
(after a fashion) but it would be a nice touch to be able to get
something with a fixed width font and syntax highlighting for putting
ideas down on the go. Of course, without copy and paste, it's a little
pointless!
Still, I thought I'd ask!
Best,
Pete
Sent from my iPhone
I notice that Spotlight is not indexing the contents of my .rb files. Do I
need a special TextMate Spotlight importer, or is this just something about
my LaunchServices? Here's the listing from mdls showing the content type
tree on a typical .rb file:
kMDItemContentTypeTree = (
"public.ruby-script",
"public.shell-script",
"public.script",
"public.source-code",
"public.plain-text",
"public.text",
"public.data",
"public.item",
"public.content"
)
Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings