When I launch the new "Preferences..."
command, I get the following error.
Any ideas?
Thanks, Piero
Traceback (most recent call last):
File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/configure.py", line 5, in ?
pref = tmprefs.Preferences()
File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/tmprefs.py", line 18, in __init__
self.prefs.update(self.readTMPrefs())
File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/tmprefs.py", line 39, in readTMPrefs
plDict = plistlib.readPlist(pl)
File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/newplistlib.py", line 77, in readPlist
rootObject = p.parse(pathOrFile)
File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/newplistlib.py", line 397, in parse
from xml.parsers.expat import ParserCreate
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/_xmlplus/parsers/expat.py", line 4, in ?
from pyexpat import *
ImportError: dlopen(/System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so, 2):
no suitable image found.
Did find: /System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/_xmlplus/parsers/pyexpat.so: mach-o,
but wrong architecture
A> Le 12 août 07 à 09:09, Dushan Mitrovich a écrit :
>
>> I missed a few days of lists a week or so ago, and I was wondering if
>> there was an archive I could go to to read the missed messages. I
>> didn't notice one on the website.
>>
>> If there is one, what's the URL? Thanks.
>
> http://comox.textdrive.com/pipermail/textmate/
Thanks, Alain, this did the trick for me.
Bastian Philipps <bp.profiles(a)gmail.com> wrote:
> There is also Gmane, which I personally find a lot more convenient than the
> typical pipermail archives
>
> http://thread.gmane.org/gmane.editors.textmate.general/
This is a good thing to find out about, Bastian, thank you. And I
agree, it's
very convenient.
- Dushan
Small request for the beamer language grammar. Would it be possible
for \frametitle to show up in the symbol list? That way you could
quickly navigate to individual slides. Thanks, Mark
Hi Everyone,
I just merged the typeset and view branch back to the mainline. Thanks to
everyone who made the effort to switch over to the branch! I think there
are still some good ideas that can be implemented but this is good progress
for now.
Please go back to using the the mainline now. I think the easy way is just
to remove Latex.tmbundle and then do an svn update in your Bundles
directory. If you are being selective about which bundles you check out
then just checkout the Latex bundle from the mainline.
Please let me know asap if you find anything wrong with this version.
Thanks,
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
I don't know if feature requests go on the email list or not.
I wanted to suggest a new "Output" option for the "Filter Through
Command" action. I think adding the option "Insert to Clipboard"
would be useful. I notice I run a number of *nix commands on text
(awk, tr, uniq, etc) but then it would be nice to have the option
where to paste it.
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I missed a few days of lists a week or so ago, and I was wondering if
there was an archive I could go to to read the missed messages. I
didn't notice one on the website.
If there is one, what's the URL? Thanks.
- Dushan
Hi all,
What is the procedure for making a new (small) new language bundle
available?
Add to the SVN? (need privileges, of course)
Host it oneself?
I'd mostly in the first place just like an SVN I can access from home and
work as it incrementally builds to something more useful.
I googled bundleforge (distant memory that that was an open place for
bundles, but it says come back soon?
t
Hi,
I have a few questions regarding my TM & Latex-Combination - I'm
switching from TexShop, but I just like TM better.
So, for using the package "glossaries" with TexShop I had to create
an extra engine... containing th following commands:
#!/bin/bash
bfname="`basename "$1" .tex`"
pdflatex "$1"
bibtex "$bfname"
makeindex -s "$bfname".ist -t "$bfname".glg -o "$bfname".gls
"$bfname".glo
makeindex -s "$bfname".ist -t "$bfname".alg -o "$bfname".acn
"$bfname".acr
pdflatex "$1"
pdflatex "$1"
Could be that this is a little often, but afterwards everything was
compiled, index, acronyms, bibtex etc...
How can I port this to TM? When I just select "Typeset and Preview"
i.e. glossaries don't show up or don't get updated.
??
Thanks a lot
flo
I'm new to TextMate and thinking of using it for teaching purposes. I would
like to fill out a form and have TextMate to automatically create the needed
file. For instance I have a snippet called csc (short for
CreateStandardClass) that looks like this
Class: ${1:ClassName}
SubClassOf: ${2:Object}
InstanceVariables: ${3:varName1},${4:varName2}
After I've entered the needed info (Rectangle, width and height) it looks
like this
ClassName: Rectangle
SubClassOf: Object
InstanceVariables: width,height
After entering height and pressing tab I would like TextMate to generate the
Objective-C code below. (It should be possible since all needed data is in
the variables $1, $2, $3 and $4)
// Rectangle.h
#import <objc/Object.h>
@interface Rectangle: Object
{
int width;
int height;
}
-(void) setWidth:(int) w;
-(void) setHeight:(int) h;
-(int) width;
-(int) height;
@end
// Rectangle.m
#import "Rectangle.h"
@implementation Rectangle;
-(void) setWidth:(int) w
{
width=w;
}
-(void) setHeight:(int) h
{
height=h;
}
-(int) width
{
return width;
}
-(int) height
{
return height;
}
@end
Is there a way to do this?
Thanks Bob
I want to produce
[origin [pt x]];
using a snippet called msg (short for message) that looks like this
[${1:Receiver} ${2:message}]
When I write msg and hit tab I am presented with
[Receiver message]
where Receiver is highlighted. I write origin and hit tab. Now I get
[origin message]
and message is highlighted.
I write msg again and hit tab.
To my surprise I get
[origin msg]
with tha caret after the last bracket .
So it seems that TM is giving priority to the outer snippet??? But I think
that two other alternatives might be better
Alternative 1: Forget all tab stops for the first snippet when an inner
snippet is activated.
Another alternative is
Alternative 2: When hitting tab give priority to the inner snippet first and
when it is finished then give focus to the outer snippet and let it do its
thing.
If I am wrong in my thinking tell me why. If I am right maybe it is some
programming difficulty with nested snippets that prevents the desired
behavior.
Thanks Bob
--
View this message in context: http://www.nabble.com/Tab-stops-work-strangely-with-nested-snippets--tf4250…
Sent from the textmate users mailing list archive at Nabble.com.
In a screencast, control -> less-than was used to change hr and img to <hr />
and , respectfully (the -> is not part of the key combination). What
happened to this feature? It no longer closes it like this: <hr />. It
only shows <hr></hr>.
--
View this message in context: http://www.nabble.com/signleton-tags-not-supported-with-control-less-than--…
Sent from the textmate users mailing list archive at Nabble.com.
A.K.A. Objective-c Annotation project,
I have started to think how I can improve the objective-c code completion,
adding additional context sensitive suggestions. Currently there are only
context sensitive suggestions for a limited set of operations inside an
Objective-C method call context.
What I would like is for constructs such as:
returnCode == NSOKButt[caret]
to be context sensitive as well, the problem is that just looking at the
type of returnCode is not going to work since it is most probably an int,
of which there are hundreds in Cocoa (counting functions that return int
and constants).
So my thinking is that using a regexp I can gather statistics from various
open-source project and make educated guesses as to what a more "detailed"
type would be, thereby being able to provide better suggestions.
for example:
-(void)openPanelDidEnd:(NSOpenPanel*)panel returnCode:(int)returnCode
contextInfo:(void*)contextInfo
{
if (returnCode == NSOKButton)
}
I would parse out the method header, the argument names + the method part
they were connected to, and then do a regexp search in the body of that
method that would check if any of the arguments are compared/assigned
against a constant/function declared in the cocoa headers. Check if this
constant/function is of a more specific type (in reality a cocoa typedef
enum).
if so add this method to a file of special cased code completions (and
ofcourse enough information to deduce what special treatment that would
be).
So now to my question to you fellow TextMate using Objective-C users:
Do you think this will help you in your coding or will it get in your way?
Have I overlooked something that makes this not viable?
Should I instead provide a special nib with a giant talking paper clip?
Thanks in Advance
Joachim Mårtensson
Is there a particular reason that there aren't any snippets in the Rails
bundle for validates_acceptance, validates_each, validates_inclusion, or
validates_numericality_of?
I attached some, including versions with "if" for those that seemed
reasonable (ie, those whose closest counterparts had if versions already in
the bundle).
Small problem with the LaTeX grammar's handling of single quote
strings. The following:
'tis suppos'
as it occurs in:
'tis suppos'd
gets scoped as invalid.illegal.string.quoted.single.latex. LaTeX,
however, has no problem with such constructions. Perhaps this would
be difficult to fix and the problem is, in any case, rare. (I only
hit upon it writing a Hume lecture.) Just thought I would pass it on.
Best, Mark
I want to produce
[origin [pt x]];
using a snippet called msg (short for message) that looks like this
[${1:Receiver} ${2:message}]
When I write msg and hit tab I am presented with
[Receiver message]
where Receiver is highlighted. I write origin and hit tab. Now I get
[origin message]
and message is highlighted.
I write msg again and hit tab.
To my surprise I get
[origin msg]
with tha caret after the last bracket.
So it seems that TM is giving priority to the outer snippet??? But I think
that two other alternatives might be better
Alternative 1: Forget all tab stops for the first snippet when an inner
snippet is activated.
Another alternative is
Alternative 2: When hitting tab give priority to the inner snippet first and
when it is finished then give focus to the outer snippet and let it do its
thing.
If I am wrong in my thinking tell me why. If I am right maybe it is some
programming difficulty with nested snippets that prevents the desired
behavior.
Thanks Bob
Hi Everyone,
I am using the TODO bundle, or wish to use it, to keep track of things to do
in my thesis. My Thesis project directory is off the root directory and
contains many Latex files. The problem is when I use the show TODO list, the
command runs properly but does not show the TODOs that are present in the
project files. i.e. the read out gives 0 in the TODO/CHANGED/FIXME columns.
The bundle works fine on single files found elsewhere in my system. I have
the latest TODO bundle check out and the latest bundle support, running T
1.56. Does anyone know what I am doing wrong - why is it not working?
Regards,
Mark Perrin
I am not a computer programmer, but use TM as my word processor. I am
interested in creating a macro which selects the text from the location of
the cursor to the next period in the sentence and then deletes that text.
Can anyone tell me how I can go about that?
Thanks for the help.
Context Sensitive HTML attribute completion!!!
You'll have to have the latest copy of the support folder and the HTML
bundle.
I have tested this quite a bit on my machine, but
if you can find a way to make it break, please let me know and I'll
fix it right up.
To use: tap the space key when your caret is just before the last
character in an html tag.
It looks up a list of attribute to tag associations and only shows you
a list of the ones that apply to the current tag that you're in.
<div TAP_SPACE_HERE>
or
<img TAP_SPACE_HERE />
If you type a few characters before you hit space, it'll use those
characters to limit your list even further.
for example:
<img onTAP_SPACE_HERE />
That will limit your list of completions to anything that starts with
"on" and is applicable to the <img> tag.
Also, works with lowercase and UPPERCASE HTML tags. When you use
uppercase tagnames it'll give you upper and titlecase attribute names,
depending on what's appropriate.
This version DOES NOT look at your doctype, it just gives the same
list for all html languages.
I think I'll wait for TM2 to do the doctype thing since it'll be a lot
easier then.
I'll do an official announcement with screencast and everything once
people argue endlessly about the keybinding that it should use.
thomas Aylott — subtleGradient — CrazyEgg — bundleForge
I've just started to try out TextMate :). I've created a little snippet
called vam (short for variable and method) that looks like this
{
int ${1:var};
}
-(void) set${1:var}:(int) n;
So when I enter vam and hit tab, I am presented with the following chunk
{
int var;
}
-(void) setvar:(int) n;
where var is highlighted. If I start to type numerator the chunk changes to
{
int numerator;
}
-(void) setnumerator:(int) n;
However I would like setnumerator to be outputted as setNumerator.
Is there a way to do this?
Thanks Bob
Hey there
I recently had a look at the GetBundle bundle and liked the fact,
that you can have a look at the available bundles online and then
select which ones to install. I also like the growl notification (why
doesn't it use my default bezel?).
I'm currently updating my bundles manually via svn from http://
macromates.com/svn/Bundles/trunk and always install all bundles
including the support folder, plugins, etc. It takes up some space on
my HD but that way I'm sure, all the bundles work properly. I install
them in my "/Library/Application\ Support/Textmate/" folder. If I
remember correctly, this is the recommended place to install
additional/updated bundles. The question I asked myself is, why
GetBundle installs its bundles into "~/Library/Application\ Support/
Textmate/Pristine\ copy/Bundles"? -- It would be nice, if there was
some kind of setting or shell variable, where you could set where to
install the bundles (for all users or just the current one). The way
it's handled now, the bundles available via svn and the ones I
install manually via download and double-click get mixed up in the
same folder (Pristine copy). Also I don't now how the updating of the
Support or PlugIn folders gets handled via GetBundle. I'm reading a
lot about conflicts between wrong versions of the dialog plugin and
bundles which depend on the newest version of the plugin on this list.
Maybe someone can shed some light on these things? Maybe a help file
for this bundle wouldn't be wrong also, since it's targeted to users
which aren't familiar with svn and how this whole bundle thing works.
Thanks in advance!
Oliver
Hi everyone,
You may have followed that I recently manage to update my
bundles after a long period using outdated ones :D
And then, I noticed that snippets for inserting images and
link in the HTML bundle have dissapeared…
I created my own snippets to replace them; it's no big
deal… But I was curious why those snippets have
dissapeared ?? Am I the only one using them ? :)
TIA
I tried to go to the preferences dialog in the Latex bundle, and
nothing happens. I see "/bin/bash: line 3: configure.py: command
not found".
Kevin Horton
Ottawa, Canada
It seems there is no way to have parts of a capture scoped by calls
to $self or #repository elements, which means that complex captures
get to have many capture elements.
It would be handy if there was a code for language grammar capture
numbering, so that these are more resilient and self-healing when the
regexp underlying their definition changes.
What I would suggest for TM2 is something like a code for "next
group" so instead of explicitly numbering all matches, only non-
sequential elements are explicitly numbered, and all others are self
numbering. A nice code would be "#". A nice twist would be if this
supported skipping elements when suffixed with an addition "#++" or "#
+n"
Then, if we change a match from, say:
match = '(a)(b)(c)';
To say:
match = '(a)(a1)(b)(c)';
Then the numbering, instead of manually being recoded from this:
1 = { name = 'a'; };
2 = { name = 'b'; };
3 = { name = 'c'; };
to this:
1 = { name = 'a'; };
2 = { name = 'a1'; };
3 = { name = 'b'; };
4 = { name = 'c'; };
Could simply stay as this (where # is a code for "next sequential
number"
1 = { name = 'a'; };
# = { name = 'a1'; };
# = { name = 'b'; };
# = { name = 'c'; };
In the more complex case,
1 = { name = 'a'; };
# = { name = 'a1'; };
#+1 = { name = 'b'; }; //skips a group
# = { name = 'c'; };
Hopefully someone can help me with the following simple problem.
I recently moved to a gmail account for my mailing list
subscriptions. I have enabled POP access in gmail, and set Mail.app
to read those messages. Everything works just fine, except for the
fact that I never get to see my own messages to the list, even though
I have set my list preferences so as to receive them. Anyone
encountered this before?
Haris
Hi,
Does anyone know how to use the svn commit window from the keyboard,
I know the enter key does the commit but is there anyway to select or
deselect files for committing without using the mouse?
cheers
jebw
Hi,
I often use the following commands. Maybe there are other users who
do find them useful too.
###
Show duplicate Lines
Show duplicate Lines (ign. leading spaces&tabs)
Bound to F5
Both commands (more or less a one-liner in bash ;) display as a tool
tip only those lines which occurs at least twice in the document sorted.
###
Sort Table by Column
Sort Table by Column numerically
Bound to F5
It is often the case that I have to sort tables (delimiter TAB) by a
specific column in a document alphanumerically or numerically.
If your document contains only a table you can place the caret in
that column which should be the key for sorting.
If you select a portion of a table it will ask you for the column as
inline menu.
Best,
Hans
Hi,
here comes the latest version of the tmCommand 'FileName Completion'.
I speed up it a bit, improved some tiny things, simplified it, fixed
some bugs, and I changed the key binding to SHIFT+TAB.
For more details see the leading comment within this tmCommand or
have a look at
http://www.bibiko.de/TM_InsertFilePathNames.mov (ca. 5.7MB without
sound but with written hints ;)
Please feel free to mail me if there are bugs or wishes or ... ;)
Regards,
Hans
> [CHANGED] The right-pointing folding arrow is another color to
make it visually distinct from the up/down arrows.
Waayyyyyy to heavy, this needs to be much more subtle! That eye-
piercing orange got to go!
Here is how most of my window look now (yes, I usually have most
everything folded):
In Markdown I can hit 'Enter' in an URL formated like this
<http://domain.tld>
and it opens in my default browser.
How would I go about to achieve the same in LaTeX documents? I have a
lot of
\url{http://domain.tld}
links in a document and I'd like to be able to open them as easily as
in Markdown.
Thanks in advance!
Oliver
Hi. I apologize if this is a repeat question. I couldn't find it in
the archives.
When using the Edit : Select : Enclosing Brackets command, is there a
way to tell TextMate to NOT select the brackets themselves? I use TM
to edit C++ code, and *very* frequently want to copy, cut, or delete
the code that's between two parentheses without getting the
parentheses themselves.
Thanks for any help,
Rob
Hi,
I have one machine still running 10.3
and when TextMate was updated to the
latest version (with the new LaTeX changes)
it broke my LaTeX compilation.
I get the following error:
sh: line 1: /usr/bin/type: No such file or directory Error: pdflatex
is not found
Sure enough, there is no /usr/bin/type. I've
specified the pdflatex location as
TM_LATEX_COMPILER.
I've downloaded 1.5.6 and I'll revert to that in
the mean time.
Cheers,
Tim.
Hi,
I'm new to TextMate and have been struggling with a few things. I'm having
trouble finding answers on Google etc. and was hoping someone in the forum
could help.
1. How to insert a new line above the caret position and move to the start
of the new line (in the correct indentation level). Something like Shift-O
in vim.
2. How to move to the start of the text on a line. So something like Ctrl-A
then Ctrl-LeftArrow
3. I also have a question regarding TextMate's auto-indentation model. Say I
have the following ruby snippet:
def foo
puts 'hello world'
<caret>
end
Note the caret is not indented correctly. If I press enter the next line
also starts against the margin. Is there a way to have TextMate always put
the caret in the correct indentation position when starting a new line?
Correct being whatever TextMate thinks is the correct position.
Regards,
Liehann
Hey all,
I've been doing some php code lately and got a bit tired of writing
getters/setters. I didn't find a command to generate them for me, so
I whipped one up.
I'm putting it here in case someone finds it useful.
The idea is to highlight the lines in your class file where you
define the class's instance vars. You then just have to fire this
command and it'll create generic getters/setters for the vars found
in the selection (can do multiple per line). If no lines are select,
it will try to create getters/setters for the vars in the current line.
It might be handier if it dumped the code into the clipboard, or
something, but it will just drop the code right below the current
selection.
If that sounds handy, you can create a command like so:
==================
Save: NOTHING
Input: SELECTED TEXT or LINE
Output: INSERT AS TEXT
Scope Selector: source.php
Command(s):
-----------------
#!/usr/bin/env python
import os,re,sys
template = """
public function get:CALL:() {
\treturn $this->:VAR:;
}
public function set:CALL:($:VAR:) {
\t$this->:VAR: = $:VAR:;
}
"""
regex = re.compile(r'\$(\w+)')
try:
text = os.environ['TM_SELECTED_TEXT']
except KeyError:
text = os.environ['TM_CURRENT_LINE']
for line in text.split('\n'):
for var in regex.findall(line):
code = template.replace(':VAR:', var)
code = code.replace(':CALL:', var[0].upper() + var[1:])
sys.stdout.write(code)
=====================
Bind to your favorite key combo and voila.
-steve
Every so often I'll open a file in TextMate and the window is all
garbled, like this:
http://microseeds.com/reference/textmate_garbled.jpg
Now this doesn't happen very often, and it's not a show stopper since
scrolling or resizing the window fixes the problem.
Has anyone else seen this?
- Dave
Hi all... there's something that's been bugging me for a while. I've
been wondering if it's possible to add a symbol to the Symbol PopUp
in a Plain Text file?
I know that I can use bookmarks, but I much prefer the Symbol PopUp
for file section navigation.
Thanks
Mike
Hi,
short question:
Like TeXSLMate Palette I would like to create a menu item (with short-
cut) in TM's 'Window' menu for my tmPlugin. How can I do this?
Many thanks in advance!
Hans
I have a problem using the svn bundle with password protected
repositories and the problem is that the bundle can't find ssh-askpass,
which is to be expected since there's no ssh-askpass anywhere in my
system :).
I've search around but all I found is some references to a python
ssh-askpass script.
Any ideas how I can get this thing to work?
Thanks,
V.-
--
http://www.braveworld.net/riva
Hi,
I use tm_dialog dozens of times to simplify matters, and to save time ;)
But sometimes I would need a bit more (like the accessory views ;) ):
I wonder if it would be possible to write a nib which contains a
button, e.g. 'Browse', and if I press this button it opens an other
nib (or in that case a file select dialog). The returned value from
the called nib (file select) will set a value in the first nib?
An other approach:
Press a button in tm_dialog. In tm_dialog there is a buttonListener.
If that button is set to invoke a shell script then do it. This shell
script (an other tm_dialog or what ever) could write something to a
file and its content could update my actual tm_dialog.
Would this be too complicated or even impossible to implement?
Up to now I did such things like
PLIST1 = "..."
PLIST2 = "..."
pressedButton = Browse
while pressedButton == Browse
pressedButton = $DIALOG -p PLIST1 a_nib
if pressedButton == Browse
PLIST2 = $DIALOG -p PLIST2 a_other_nib
PLIST1 = modify with values of PLIST2
end while
Application examples could be:
- a Browse button to open a separate File Select Dialog
- a Edit button to edit preferences for the tm_dialog
- a Install button to install stuff which is missing without leaving
tm_dialog
- a Refresh button to refresh values in the tm_dialog
Or is there an other way to do something like that?
Do I carry things too far? ;)
Cheers,
Hans
God Day all,
What advice do people have for marking up a language grammar containing
statements with a variable (and potentially lengthy) list of parameters,
which are themselves morphologically complex?
I saw here <http://macromates.com/blog/2005/language-grammars/>, the idea
of using $self to re-parse the detected fragment using the whole language
grammar
{ name = "markup.bold.html";
begin = "<b>"; end = "</b>";
patterns = ( // really means ³contains²
{ include = "$self"; }
);
}
And also the idea of using a repository of named rules to direct the second
level of parsing. Are there bundles that use that and upon which which I
could base my work ?
The statements I want to match are of the form
latentVar BY var var var var...;
This should be parsed into <variable.latent> <keyword.BY> <variable.dv>...
The tricky bit is that each variable has its own syntax and can appear n one
of three forms
name // <variable.name>
name@n // <variable.name><keyword.at> <numeric.value>
name*n // <variable.name><keyword.start> <numeric.value>
So that each variable gets matched like this:
\s+(\w+)(((a)|\*)([-\.\d]+))?\s+
A test case might be
e1 BY item1@1 item2 item3*0.51;
It is obviously pretty redundant and unmaintainable to make a big list like
that in a single rule, and ultimately not possible as the variable list
might exceed the rule's length.
Suggestions gratefully received.
Tim
hi TextMate'rs,
i have the key binding blues. i'm an old vi guy and i still cannot
deal with the mouse when writing. so, i want to be able to use
TextMate *without* using the mouse. moreover, i want to be able to
use all the keys on the *home row* of my query keyboard (e.g., a-s-d-
f-g-h-j-k-l-;).
my question is how do i ensure that my keybindings override
everything? for example, TextMate uses ^h in lots of different
bundles and i have to hand-edit a dozen different bundles to change
^h to something else. (i thought control- functions were reserved for
user stuff?).
right now, i'm using KeyBindings.dict in ~/Library/Application
Support/TextMate, like so:
{
/* vi-like navigation */
"^f" = "pageDown:";
"^b" = "pageUp:";
"^w" = "moveWordRight:";
"^h" = "moveLeft:";
"^j" = "moveDown:";
"^k" = "moveUp:";
"^l" = "moveRight:";
"^e" = "scrollLineDown:";
"^y" = "scrollLineUp:";
}
also, is there anyplace that has the definitive documentation for
what the keybindings are? (TextMate's 'Show Keyboard Shortcuts' isn't
showing my changes). i'm mostly interested in text navigation and
basic word processing functions. i can't believe that i'm nostalgic
for WordPerfect circa 1990 when everything clearly defined via
function keys and you could by a reference card for it :).
neverthelesss, TextMate has more promise than anything i've seen in
years.
finally, are there example key binding configurations for TextMate
that are emacs-like or bash-like or vi-like?
thanks in advance,
-darren
On 8/4/07, at 12:00 PM, textmate-request(a)lists.macromates.com said:
>>> In your case, you have the build dir in the .xconfig file?
>>> Ideally we would extend our code to also look there.
>> OTOH, would that make a good fall back when we can't find the
>> executable even in $PROJECT_DIR/build ?
>
>Probably not ideal [to get the Executable Path via an AppleScript],
>since it would start up Xcode (if not already running), and would
>require Xcode to have the current project loaded. Personally I do
>not have Xcode running most of the time.
Ok. Then would configuration based environmental variables be useful for the Xcode bundle? You tell the XCode project you're building Debug configuration (and/or X target) and TM will use Debug environmental variables instead of Release ones... or environmental variables specific to that target.
(This would also solve my problem in a round-about way: I could specify a TM_BUILD_DIRECTORY_DEBUG and TM_BUILD_DIRECTORY_RELEASE and, since I specified that I'm building Debug, TM would use TM_BUILD_DIRECTORY_DEBUG to find and launch the app)
Later,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
I have a very simple question: where is the setting with which I can choose
the side the project drawer appears on?
I have a collection of project windows I keep open every time I open
TextMate, and the project drawers are all on the left. However, I just
created a new project and the drawer is on the right and I cannot see any
setting in preferences that controls this, nor can I just drag the drawer
where I want it.
I can hide the drawer, move the window all the way over to the right and
then show the drawer and it pops out of the left where I want it. But come
on! There must be a better way?!
Either it's right there in front of me and I'm not seeing it, or it's
unusual interface shortcoming for such a nice product.
Thank you for your help,
Jay
Hi there,
there seems to be a bug/glitch on the Markdown Bundle.
The command to insert a new list item (currently bound to ↩)
wrongly assumes unordered list items always begin with "*"
If I have a list like this:
- foo
- bar<caret>
pressing 'return' produces this:
*- foo
- bar
* <caret>
which is quite not right :)
I've been taking a look at the code for the command, but it's a little
bit over my head :)
Michael, could you please take a look at it?
Thanks in advance...
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
I like the project drawer on the left of my working window.
today it's opened on the right and i can't find a way to make it
switch back.
How do I fix the project drawer position?
TIA
Hi,
A few days ago i realized i have a performance problem with LaTeX documents
within TextMate. I've tested it with HTML and some other languages a few
minutes ago. It seems that only LaTeX has some problems.
When i type a letter on my keyboard it takes about half a second until the
letter gets displayed in the document.
I think you could realize how annoying this is especially when you have to
write some very long text.
What is wrong here? Do i have something running...all the time...which costs
so much time to calculate?
Thanks for any help. (or questions...)
Zettt
--
View this message in context: http://www.nabble.com/Performance-problem-with-LaTeX-Documents-tf4199305.ht…
Sent from the textmate users mailing list archive at Nabble.com.
Good Morning,
When executing certain commands Textmate hangs for a few moments,
then simply erases the selected text instead of executing said
command. Two examples would be "Wrap each selected line in open close/
tag" in the HTML bundle, and "Tidy" in the XML bundle. These commands
have worked fine in the past year of using textmate. Recently I had a
hard-drive failure and had to copy all of my preferences from back-up
- this is the only thing I can think of which would have effected
textamate's behavior. Any ideas?
Thanks,
James Fishwick
Charlottesville, VA
Allan Odgaard wrote:
>On 30. Jul 2007, at 17:35, Ryan Wilcox wrote:
>
>>Since the build dir depends on the active configuration, I am not
>>sure setting the environment variable is that useful, also because
>>you’d have to set this per project.
>In your case, you have the build dir in the .xconfig file? Ideally we
>would extend our code to also look there.
Yes, my build dir is stored in the .xcconfig. Parsing those is no easy matter: you can have environmental variables in there, #include other .xcconfigs...
The annoying thing is that the path is in the project's executable setting: writing the following AppleScript shows the proper path
tell application "Xcode"
tell project 1
set a to active executable
a's path
end tell
end tell
BUT the executable I don't think changes when configurations are switched (right?)
OTOH, would that make a good fall back when we can't find the executable even in $PROJECT_DIR/build ?
Hope this helps,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
TextMate [r1405#17788]
I'm not sure if this is an issue specific to the Erlang bundle.
I want to write the following:
-import (lists, [map/2, sum/1]).
I want to write it using snippets as follows and have my cursor appear
after ending dot:
imp<TAB>lists<TAB>map<TAB>2<^,>sum<TAB>1<TAB>
However the result of this is:
-import (lists, [map/2, sum/1 <CURSOR>]).
Basically I expect surrounding snippets to remain in something like a
stack so that their tab stops are honored prior to the tab key being
accepted as a tab character.
Is this supported in TextMate?