Hi TextMate Vim switchers (also BBEdit, Emacs, XCode, Eclipse, etc.
switchers).
I find that Vim users find the transition to a new editor much more
difficult than switchers from other editors. This speaks highly of
Vim's power, flexibility, and efficiency: there are aspects of its use
that are very hard for users to give up, and parts of Vim that work much
more efficiently than the equivalent TM features.
So, I ask that you come together to fill out this wiki page:
http://macromates.com/wiki/MigratingFrom/Vim
So that when the (not infrequent) question comes up from a Vim user
about why to use TextMate instead, there will be some resource to point
her at. I think it would be great to put tips, tricks, maybe some
thoughts about what TextMate could do better to meet the needs of those
used to powerful Vim features that can't quite be emulated. The goal
should be to (preferably in this order):
1. Convince Vim users that TextMate is worth trying.
2. Help Vim users through aspects of the editor that are likely to trip
them up.
3. Figure out how Vim features can inform new TextMate commands, etc.
Note, former users of other apps can make other subpages from this top
level page:
http://macromates.com/wiki/MigratingFrom/HomePage
It might be nice to put together a page for general Windows switchers as
well, with tips like how to get home/end key bindings working (that blog
post of Allan's), etc.
----
The wiki could probably use some general info for new users. Many
tutorials and tips have been posted around on various blogs, but it
would be nice to consolidate and clarify some of this information, and
put it somewhere where it can be kept up to date.
Note: the wiki can use markdown syntax by wrapping a page in
(:markdown:) and (:markdownend:)
-Jacob
I installed ruby 1.8.5 and appscript on my mac
(and it is hugely better that the schizolanguage
of AppleScript).
Now if I define a command in TextMate like
#!/usr/bin/env ruby
require "appscript"
include Appscript
te = app('TextEdit')
TextMate complains it (he) cannot find
appscript.rb (no use to give the explicit
path since then TextMate cannot find the
files require'd inside appscript, etc etc).
Clearly, I must set new paths,
but how? and maybe I should also tell
TextMate to use 1.8.5 instead of 1.8.2
I'm sure this is easy but have no idea
how to do it. Any help?
Thanks a lot,
Piero
I'm sure that a few of the developers of TextMate were not even born
when I first started using Emacs... Now, I know very well that ol'
Emacs ain't perfect, but by now my fingers and brain are so wedded to
Emacs that, despite a few attempts, I have never been able to switch
to a different text editor.
But several people whose opinions I value have urged me to give
TextMate a try, so here we go.
I imagine/hope, given that so many people in TextMate's target
audience use either Emacs or vi, that there will be extensive
resources to ease the transition *from these specific editors* to
TextMate. Am I right? If so, where are these resources?
More specifically, I'm hoping to find something like a "TextMate for
Emacs veterans FAQ", with answers to questions like:
1. will I be able to use TM entirely from the keyboard?
2. will I be able to set up the same key bindings as in Emacs? how easily?
3. can I work on a single window, switching between buffers from the
keyboard, or will I have a zillion windows floating around my desktop?
4. will I be able to preserve my workspace (including open buffers,
modes, and other settings) from one session to the next, Ã la Emacs
Desktop?
5. can I run a shell withiin TextMate?
6. does TextMate integrate with debuggers like gdb?
...etc., etc.
Thanks!
kj
Just thought I'd let you know that Textmate bombs out on me when I
try and commit changes to my subversion repository using the
subversion bundle.
To be honest I've not used this bundle for a long time as I use svnX,
but svnX has just stopped letting me open my repositories and working
copies (it bombs out also) so I thought I'd give it a go.
I can't comment on when this started happening to the subversion
bundle so I don't know if the two problems I'm having are connected,
but the only thing that's changed since yesterday (when svnX was
working fine) is that I've installed the iTunes (7.1) and Quicktime
(7.1.5) updates from Apple, so if the two are connected then
(although I can't see why) this may have something to do with it.....
[command line subversion is working fine ...although I'm having
problems remembering how to use it!?!?!]
Cheers n thanks for an awesome editor!
Rupert
I'm taking a fresh look at TM and using it 60/40 with BBEdit... one
of the things I'm missing is a "balance tags" or "balance blocks"
feature.
e.g. if I'm between two tags, I hit the key command I've assigned,
cmd-opt-B, and everything between the two current HTML tags gets
selected. If I press it again, everything within the parent tag gets
selected, and so on. Is this something hidden in one of the TM
bundles? I really miss this whenever I move over to TM.
Similarly, I like being able to double click on opening braces,
parens, brackets, and selecting their contents. I know there's the
code collapsing, but it's different and doesn't seem so universally
applicable. e.g. object literals in Javascript aren't collapsable in
TM. In BBedit they're both collapsable and the bracket-double-
clicking works.
Any suggestions?
Hi all,
Is there a way in text mate to highlight a number of lines in Ruby code and
then say "Comment/Un-comment", after which Textmate would apply the leading
"#" comment before each of the lines?
Tks in advance
Greg
TextMate installs a new 'mate' command that can be used to open files
and directories from the command line. I don't recall if it installs
the command automatically, or if you need to do something special to
invoke it, sorry.
Folding can be tricky, as it matches both open/close folding
characters for the language you're currently using, and the indent
level must be correct as well. Plus, of course, they need to balance
correctly.
Not sure about the beeps, I only recall TextMate beeping during a
search, if it's found the last occurance and I ask it to find the
next one (which there isn't one).
Hope this helps,
- Dave
Hi,
I am trying to come up with a solution and thought that some of the
brilliant members of the list would have some ideas/suggestions.
I work in an environment where 3-5 people edit files for multiple
sites that are in the webserver of a shared server (currently accessed
thru smb). most of the edits are html, and I don't want to "burden"
them with checkin/checkout/etc etc
However, I am setting up new development box (ubuntu) and want to use
svn/trac/etc.
I already have (and use) tm project files for each "site" and I keep
them in the parent directory of htdocs on the share.
can the project file have all the svn project info and handle things
on open/save?
thanks
--
dc
-----
David Clark
Database Developer
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hi,
Would it be possible to add support for correctly syntax highlighting
code in markdown blog posts?
I have the iG:Syntax Hiliter plugin <http://blog.igeek.info/wp-
plugins/igsyntax-hiliter/> which highlights the code when viewed
online, but it would be nice to have the code highlighted in
TextMate. The syntax for this plugin is ....
[perl]
# perl code here
[/perl]
[ruby]
# ruby code here
[/ruby]
etc.
What would be the best way to do this?
- Luke.