While not a solution to Rainers problem, I found the recently added "Go >
Commands …" palette (resp. the default shortcut cmd+shift+U) a very helpful
addition and usage pattern. For lesser used commands I find it much easier
to type a few letters than remembering yet another dozen keyboard shortcuts.

To add also a suggestion on topic:
In BBEdit's Support Folder the current keybindings are saved in the "Setup"
folder. ("Menu Shortcuts.xml" and "Not Menu Shortcuts.xml"). You could make
backups for that files, adjust all shortcuts to your liking and than backup
that files again. So, you could create "save files" for current shortcut
settings for future use.
Of course that would mean reanaming and fumbling with setting files and
opening a door that leads right down that dark tinkering abyss :-)

Roland

On Fri, Feb 4, 2022 at 10:11 AM Rainer Krug <rai...@krugs.de> wrote:

> So no out of the box solution? Would be a nice feature to have.
>
> Thanks for this. I am sure that this will work and I would enjoy fiddling
> with it for some time - but I fear it would cost me more time to implement
> this than to stick with what I have (which is the main reason I left emacs
> + org mode + gnus + ESS for R) behind - I was fiddling all the time and my
> setup became extremely complicated and I lost more time than I saved. Now I
> am using BBEdit, Apple Mail, and RStudio and do not want to jump into that
> rabbit hole again. But I will keep this in mind in case I need it more than
> a "nice to have".
>
> Having said that, I still would like to have the option of
> per-project-settings, including shortcuts, in out-of-the-box BBEdit.
>
> On Thursday, February 3, 2022 at 8:03:12 PM UTC+1 jj wrote:
>
>> Hi Rainer,
>>
>> This script looks for the existence of an optional *.rainer.conf* file
>> in the parent directories.
>> If the file exists it reads it, parses it and acts in consequence.
>>
>> Same logic could be applied based on project window names, document file
>> types, document file languages, etc.
>>
>> HTH
>>
>> Jean Jourdain
>>
>> --
>>
>>     on readRainerConf(aFile)
>>         set vRainerConf to ".rainer.conf"
>>         tell application "Finder"
>>             set vContainer to container of file aFile
>>             repeat while true
>>                 try
>>                     if exists file vRainerConf of vContainer then
>>                         set vConfFile to (file vRainerConf of vContainer)
>> as alias
>>                         set vConfig to read vConfFile
>>                         return vConfig
>>                     end if
>>                     set vContainer to container of vContainer
>>                 on error
>>                     exit repeat
>>                 end try
>>             end repeat
>>             return missing value
>>         end tell
>>     end readRainerConf
>>
>>     tell application "BBEdit"
>>         set vDocument to first document of first window
>>         if not vDocument's on disk then
>>             return
>>         end if
>>         -- Check for a configuration file.
>>         set vConfig to my readRainerConf(vDocument's file)
>>         -- Parse the the config and act appropriately.
>>         if vConfig contains "optionA" then
>>             set vCommand to "do A command"
>>         else if vConfig contains "optionB" then
>>             set vCommand to "do B command"
>>         else
>>             set vCommand to "do default command"
>>         end if
>>         display dialog vCommand
>>     end tell
>>
>> On Thursday, February 3, 2022 at 3:48:38 PM UTC+1 Rainer Krug wrote:
>>
>>> Hi
>>>
>>> Is it possible, to run project / folder specific keyboard shortcuts?
>>>
>>> In different projects I do different things regularly and would like to
>>> put these in the same keyboard shortcut.
>>>
>>> Thanks,
>>>
>>> Rainer
>>>
>> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/adbf1f2c-e8fd-4ac0-ac8b-5430880d6fb6n%40googlegroups.com
> <https://groups.google.com/d/msgid/bbedit/adbf1f2c-e8fd-4ac0-ac8b-5430880d6fb6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CABybPXZyrqD5FribTKf9cO9PLMVzsLiS3L5XfK70qYb03Egz5A%40mail.gmail.com.

Reply via email to