New to BBEdit: Fast switching between docs, Fast searching

2,027 views
Skip to first unread message

Stan James

unread,
Sep 30, 2008, 11:43:09 AM9/30/08
to BBEdit Talk
Hi,

I recently switched to Mac and am deciding on a TextEditor. BBEdit
seems the best so far, but I can't find two time saving features that
I rely heavily on.

- Toggling Between Documents: Just as you can Alt-Tab toggle between
most recently used apps, I need to be able to toggle between recently
used documents. In the windows world most programs use Ctrl-Tab for
this. Does BBEdit have anything like this?

- Using selected text as search term. In my previous editor I could
hit one keystroke and instantly search for the next/prev occurance of
whatever text was hilited. In BBEdit it seems I have to copy-n-paste
the text into the search box. This is no good when my task is to paste
a new bit of code -- the clipboard containing my new text gets wiped
out by my search term!

Any help much appreciated.

-Stan

Maarten Sneep

unread,
Sep 30, 2008, 11:51:44 AM9/30/08
to bbe...@googlegroups.com
On 30 sep 2008, at 17:43, Stan James wrote:

> - Toggling Between Documents: Just as you can Alt-Tab toggle between
> most recently used apps, I need to be able to toggle between recently
> used documents. In the windows world most programs use Ctrl-Tab for
> this. Does BBEdit have anything like this?

With open documents there are some shortcuts, I'm not sure about
recently opened documents.

> - Using selected text as search term. In my previous editor I could
> hit one keystroke and instantly search for the next/prev occurance of
> whatever text was hilited. In BBEdit it seems I have to copy-n-paste
> the text into the search box. This is no good when my task is to paste
> a new bit of code -- the clipboard containing my new text gets wiped
> out by my search term!

"Use Selection for Find" and "Use Selection for Replace" in the search
menu seem to be made for this (cmd-E and cmd-opt-E).

Maarten

Dennis

unread,
Sep 30, 2008, 12:07:01 PM9/30/08
to bbe...@googlegroups.com

On Sep 30, 2008, at 8:51 AM, Maarten Sneep wrote:

> On 30 sep 2008, at 17:43, Stan James wrote:
>
>> - Toggling Between Documents: Just as you can Alt-Tab toggle between
>> most recently used apps, I need to be able to toggle between recently
>> used documents. In the windows world most programs use Ctrl-Tab for
>> this. Does BBEdit have anything like this?
>
> With open documents there are some shortcuts, I'm not sure about
> recently opened documents.

By default, BBEdit assigns "Command-Option-[" and "Command-Option-]"
to previous and next document (also accessible under the View menu).
As Maarten points out, however, these commands operate on open
documents. To access recently opened documents that have since been
closed, you'll need to go to the File -> Open Recent menu.


>> - Using selected text as search term. In my previous editor I could
>> hit one keystroke and instantly search for the next/prev occurance of
>> whatever text was hilited. In BBEdit it seems I have to copy-n-paste
>> the text into the search box. This is no good when my task is to
>> paste
>> a new bit of code -- the clipboard containing my new text gets wiped
>> out by my search term!
>
> "Use Selection for Find" and "Use Selection for Replace" in the search
> menu seem to be made for this (cmd-E and cmd-opt-E).

Maarten offers one good option. Another is to use the Search -> Find
Selected Text command. Depending on your configuration, you may or may
not have a keyboard shortcut assigned to that command. If you don't,
you can easily add it under BBEdit -> Preferences -> Menus (in fact,
you can add a key combo to any menu item, or change the defaults, from
that same location).

I use "Command-Control-F" for Find Selected Text and "Shift-Command-
Control-F" for Find Previous Selected Text.

Hope this helps!

-Dennis

Dennis

unread,
Sep 30, 2008, 12:11:04 PM9/30/08
to bbe...@googlegroups.com
On Sep 30, 2008, at 9:07 AM, Dennis wrote:

> By default, BBEdit assigns "Command-Option-[" and "Command-Option-]"
> to previous and next document (also accessible under the View menu).

BTW, BBEdit also allows you to cycle through these open documents in
historical order or in the order that they're displayed. This option
can be configured from BBEdit -> Preferences -> Documents & Drawer.

-Dennis

Semper Fidelis

unread,
Sep 30, 2008, 2:42:22 PM9/30/08
to bbe...@googlegroups.com
You also can cycle through open BBEdit documents by pressing "Command
Tilde" (~), which is Mac's default for doing that.

Dennis

unread,
Sep 30, 2008, 2:50:45 PM9/30/08
to bbe...@googlegroups.com
On Sep 30, 2008, at 11:42 AM, Semper Fidelis wrote:

> You also can cycle through open BBEdit documents by pressing "Command
> Tilde" (~), which is Mac's default for doing that.

Good point. But it should also be clarified that Command-tilde cycles
between *windows* rather than documents. If you're using BBEdit's
document drawer with multiple documents per window, then Command-tilde
will only get you so far.

-Dennis

Stan James

unread,
Oct 6, 2008, 12:19:06 PM10/6/08
to BBEdit Talk
Thanks everyone for the tips, this helps a lot.

(*Also* new to Google groups, so took me a while to release you'd
responded!)

Christopher Stone

unread,
Oct 5, 2012, 11:04:39 AM10/5/12
to bbe...@googlegroups.com
On Oct 05, 2012, at 02:56, Obir <rutger...@gmail.com> wrote:
Hi, is there a way to cycle through open documents in the new BBedit (version "10)? 
"BBEdit -> Preferences -> Documents & Drawer" is gone and i can't find where this setting now lives.
Als mentioned in this thread further below, "Command ~" only cycles through open windows, not open documents.


On Tuesday, September 30, 2008 6:11:04 PM UTC+2, Dennis wrote:
By default, BBEdit assigns "Command-Option-[" and "Command-Option-]" to previous and next document (also accessible under the View menu).

BTW, BBEdit also allows you to cycle through these open documents in historical order or in the order that they're displayed. This option can be configured from BBEdit - Preferences - Documents & Drawer.
______________________________________________________________________

Hey There,

Your own post contains this information:

"Command-Option-[" and "Command-Option-]"

There is an expert preference for changing the order of navigation:

Windows and UI Tweaking

• When using the "Previous Document" and "Next Document" commands on the View menu, or the navigation arrows in the navigation bar, the order in which BBEdit navigates documents is determined by the order in which they were opened. If you prefer, these commands can be made to navigate the documents in the order shown in the file list.

defaults write com.barebones.bbedit SurfNextPreviousInDisplayOrder -bool YES

The keyboard shortcuts are available in the Menus & Shortcuts preferences in the item corresponding to the 'View' menu.

--
Best Regards,
Chris

Reply all
Reply to author
Forward
0 new messages