Konstantinos Pachnis Migrating from TextMate to BBEdit
Jul 16, 2010; 14:00
Konstantinos Pachnis
Migrating from TextMate to BBEdit
Hello,
In TextMate there is feature Column Movement / Typing that you can select a column data and then start typing to type on each line. Can this be done in BBEdit? When I select a string (word, line, etcÂ…) can I enclose it in between parentheses, quotes, square brackets, etcÂ… by just typing the character? Using a language mapping (ruby, c++, etcÂ…), is it possible when opening a parentheses, square bracket, etcÂ… to insert the corresponding close character? What about smart indentation?
Thanks, Konstantinos
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 26
hkrems Re: Migrating from TextMate to BBEdit
Jul 26, 2010; 14:00
hkrems
Re: Migrating from TextMate to BBEdit
On 16 Jul., 14:47, Konstantinos Pachnis <konstantinos....@gmail.com> wrote: > Hello, > > In TextMate there is feature Column Movement / Typing that you can select a > column data and then start typing to type on each line. Can this be done in > BBEdit? > When I select a string (word, line, etcÂ…) can I enclose it in between > parentheses, quotes, square brackets, etcÂ… by just typing the character? > Using a language mapping (ruby, c++, etcÂ…), is it possible when opening a > parentheses, square bracket, etcÂ… to insert the corresponding close > character?
forget it. that's why I use bbedit for search&replace (old style dialogie) and write most of the code in TextMate.
regards Harald
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 26
Konstantinos Pachnis Re: Migrating from TextMate to BBEdit
Jul 26, 2010; 14:00
Konstantinos Pachnis
Re: Migrating from TextMate to BBEdit
I see :)
Thanks a lot Harald.
BBEdit people, any plans for supporting those features in the next version? Please, don't make me regret the €100 I paid!
Regards, Konstantinos
On 26 July 2010 16:03, hkrems <harald.kremsner@gmail.com> wrote:
> On 16 Jul., 14:47, Konstantinos Pachnis <konstantinos....@gmail.com> > wrote: > > Hello, > > > > In TextMate there is feature Column Movement / Typing that you can select > a > > column data and then start typing to type on each line. Can this be done > in > > BBEdit? > > When I select a string (word, line, etcÂ…) can I enclose it in between > > parentheses, quotes, square brackets, etcÂ… by just typing the character? > > Using a language mapping (ruby, c++, etcÂ…), is it possible when opening a > > parentheses, square bracket, etcÂ… to insert the corresponding close > > character? > > forget it. that's why I use bbedit for search&replace (old style > dialogie) and write most of the code in TextMate. > > regards > Harald > > -- > You received this message because you are subscribed to the > "BBEdit Talk" discussion group on Google Groups. > To post to this group, send email to bbedit@googlegroups.com > To unsubscribe from this group, send email to > bbedit+unsubscribe@googlegroups.com<bbedit%2Bunsubscribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/bbedit?hl=en > If you have a feature request or would like to report a problem, > please email "support@barebones.com" rather than posting to the group. >
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 26
Toadling Re: Migrating from TextMate to BBEdit
Jul 26, 2010; 14:00
Toadling
Re: Migrating from TextMate to BBEdit
On Jul 16, 2010, at 5:47 AM, Konstantinos Pachnis wrote:
> In TextMate there is feature Column Movement / Typing that you can select a column data and then start typing to type on each line. Can this be done in BBEdit?
I think the closest you'll get to that in BBEdit is the "Text -> Prefix/Suffix Lines..." command. Assign a key combination to it and trigger it to bring up a sheet with options to add or remove prefixes and suffixes for all selected lines.
It's maybe not as fancy as the TextMate feature, but in some ways, I slightly prefer the BBEdit approach. It's a bit more intuitive, I think. I'm more likely to get what I wanted on the first try. ;-)
> When I select a string (word, line, etcÂ…) can I enclose it in between parentheses, quotes, square brackets, etcÂ… by just typing the character? > Using a language mapping (ruby, c++, etcÂ…), is it possible when opening a parentheses, square bracket, etcÂ… to insert the corresponding close character?
The best way I've found to simulate this behavior is to use BBEdit's clippings feature. I created a bunch of clippings to insert the opening and closing characters with the cursor positioned between them (and any other text I want). I then assigned keyboard shortcuts to them. For example, Control-Command-[ gives me a pair of square brackets with my cursor in between ready for input.
Again, maybe not as fancy as TextMate's auto-matching pairs, but I do find I get fewer accidental, unwanted closing parens and brackets with the clipping method in BBEdit.
> What about smart indentation?
I'm not exactly sure what you mean here. However, the Preferences -> Editor Defaults -> Auto-indent option might help. Preferences -> Editing: General -> Soft wrapped line indention also might be of some use.
-Dennis
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 27
Roland Küffner Re: Migrating from TextMate to BBEdit
Jul 27, 2010; 14:00
Roland Küffner
Re: Migrating from TextMate to BBEdit
Am 27.07.2010 um 03:54 schrieb Toadling:
> On Jul 16, 2010, at 5:47 AM, Konstantinos Pachnis wrote: > >> In TextMate there is feature Column Movement / Typing that you can select a column data and then start typing to type on each line. Can this be done in BBEdit? > > I think the closest you'll get to that in BBEdit is the "Text -> Prefix/Suffix Lines..." command. Assign a key combination to it and trigger it to bring up a sheet with options to add or remove prefixes and suffixes for all selected lines.
> Additional you can make a rectangular selection in BBEdit (hold Alt while selecting, make sure Soft Wrap is turned off) and paste the content of the clipboard to each line at the selected position. Again, this is not as fancy as in TextMate but does the job.
>> When I select a string (word, line, etc…) can I enclose it in between parentheses, quotes, square brackets, etc… by just typing the character? >> Using a language mapping (ruby, c++, etc…), is it possible when opening a parentheses, square bracket, etc… to insert the corresponding close character? > > The best way I've found to simulate this behavior is to use BBEdit's clippings feature. I created a bunch of clippings to insert the opening and closing characters with the cursor positioned between them (and any other text I want). I then assigned keyboard shortcuts to them. For example, Control-Command-[ gives me a pair of square brackets with my cursor in between ready for input. > > Again, maybe not as fancy as TextMate's auto-matching pairs, but I do find I get fewer accidental, unwanted closing parens and brackets with the clipping method in BBEdit.
Be sure to check out the Clipping feature in the manual. It is one of BBEdit's best features. You would miss a lot of functionality that makes BBEdit such a decent editor. For example the syntax for adding parenthesises to a selection is: #selstart#(#select#)#selend# With an assigned keyboard shortcut this is pretty nice. You can further tweak BBEdit with little applescripts that make your editing life easier. One of my favorites is "Select Word" (by John Gruber if I remember that right):
tell application "BBEdit" tell window 1 set sel_offset to characterOffset of selection set cur_line to startDisplayLine of selection try select (last word of display_line cur_line ¬ whose characterOffset ≤ sel_offset) on error select display_line cur_line end try end tell end tell
This group is a good ressource for little bits. You'll find a lot of solution to specific problems. Searching the archives is strongly recommended.
Happy editing Roland
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.
Jul 28
Konstantinos Pachnis Re: Migrating from TextMate to BBEdit
Jul 28, 2010; 14:00
Konstantinos Pachnis
Re: Migrating from TextMate to BBEdit
Thanks a lot guys. I will give all these a try and I believe I will find my way around.
Regards, Konstantinos
On 27 July 2010 10:34, Roland Küffner <medienmeister@googlemail.com> wrote:
> > Am 27.07.2010 um 03:54 schrieb Toadling: > > > On Jul 16, 2010, at 5:47 AM, Konstantinos Pachnis wrote: > > > >> In TextMate there is feature Column Movement / Typing that you can > select a column data and then start typing to type on each line. Can this be > done in BBEdit? > > > > I think the closest you'll get to that in BBEdit is the "Text -> > Prefix/Suffix Lines..." command. Assign a key combination to it and trigger > it to bring up a sheet with options to add or remove prefixes and suffixes > for all selected lines. > > > Additional you can make a rectangular selection in BBEdit (hold Alt while > selecting, make sure Soft Wrap is turned off) and paste the content of the > clipboard to each line at the selected position. Again, this is not as fancy > as in TextMate but does the job. > > > >> When I select a string (word, line, etc…) can I enclose it in between > parentheses, quotes, square brackets, etc… by just typing the character? > >> Using a language mapping (ruby, c++, etc…), is it possible when opening > a parentheses, square bracket, etc… to insert the corresponding close > character? > > > > The best way I've found to simulate this behavior is to use BBEdit's > clippings feature. I created a bunch of clippings to insert the opening and > closing characters with the cursor positioned between them (and any other > text I want). I then assigned keyboard shortcuts to them. For example, > Control-Command-[ gives me a pair of square brackets with my cursor in > between ready for input. > > > > Again, maybe not as fancy as TextMate's auto-matching pairs, but I do > find I get fewer accidental, unwanted closing parens and brackets with the > clipping method in BBEdit. > > > Be sure to check out the Clipping feature in the manual. It is one of > BBEdit's best features. You would miss a lot of functionality that makes > BBEdit such a decent editor. For example the syntax for adding parenthesises > to a selection is: > #selstart#(#select#)#selend# > With an assigned keyboard shortcut this is pretty nice. You can further > tweak BBEdit with little applescripts that make your editing life easier. > One of my favorites is "Select Word" (by John Gruber if I remember that > right): > > tell application "BBEdit" > tell window 1 > set sel_offset to characterOffset of selection > set cur_line to startDisplayLine of selection > try > select (last word of display_line cur_line ¬ > whose characterOffset ≤ sel_offset) > on error > select display_line cur_line > end try > end tell > end tell > > > This group is a good ressource for little bits. You'll find a lot of > solution to specific problems. Searching the archives is strongly > recommended. > > Happy editing > Roland > > -- > You received this message because you are subscribed to the > "BBEdit Talk" discussion group on Google Groups. > To post to this group, send email to bbedit@googlegroups.com > To unsubscribe from this group, send email to > bbedit+unsubscribe@googlegroups.com<bbedit%2Bunsubscribe@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/bbedit?hl=en > If you have a feature request or would like to report a problem, > please email "support@barebones.com" rather than posting to the group. >
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "support@barebones.com" rather than posting to the group.