Re: make bbedit default edit

2012-06-14 Thread Alex Satrapa
I have the following in my .zshrc: EDITOR="/user/bin/bbedit -w --resume" VISUAL="/user/bin/bbedit -w --resume" This works fine for Subversion and git. I do not know that this will work for bash, but I expect that it will. Some shells will prefer that you use single quotes (') rather than double

Re: Does BBE support Syntax and Formatting for PHP code

2012-06-14 Thread Robert A. Rosenberg
At 14:35 +1000 on 06/14/2012, Alex Satrapa wrote about Re: Does BBE support Syntax and Formatting for PHP code: While BBEdit doesn't have any tidying/syntax checking for PHP (or Perl, or Python or Š) there is a phptidy script on the intertubes, and there is discussion of how to use it with Tex

Re: change default editor to bbedit

2012-06-14 Thread Rick Gordon
Ah, right. I was confusing edit and open. -- On 6/14/12 at 2:10 PM -0400, François Schiettecatte wrote in a message entitled "Re: change default editor to bbedit": >It is not relevant, all the alias does is replace the command 'edit' with the >command '/usr/bin/bbedit', the defa

Re: change default editor to bbedit

2012-06-14 Thread François Schiettecatte
It is not relevant, all the alias does is replace the command 'edit' with the command '/usr/bin/bbedit', the default MacOS X install does not have an 'edit' command. Note that you can add parameters to the alias: alias edit='/usr/bin/bbedit --wait --resume' There is the '/usr/bin/open'

Re: change default editor to bbedit

2012-06-14 Thread Rick Gordon
But how will that work for other classes of documents, such as images, which have their own default editor? -- On 6/14/12 at 8:28 AM -0500, Rod Buchanan wrote in a message entitled "Re: change default editor to bbedit": >On Jun 13, 2012, at 7:25 PM, bobPCL wrote: > >> thanks. Th

Re: change default editor to bbedit

2012-06-14 Thread Ryan Wilcox
On Thursday, June 14, 2012 12:39:24 AM UTC-4, Grail wrote: > > Just a note about using BBEdit for editing commit messages: I use > '/usr/local/bin/bbedit --wait --resume' for that purpose, mainly to allow > the commit message to be written before returning control to the invoking > process. >

Re: change default editor to bbedit

2012-06-14 Thread Rod Buchanan
On Jun 13, 2012, at 7:25 PM, bobPCL wrote: > thanks. That does work for crontab. Unfortunately it does work if you say > "edit file.name", you can say bbedit but not edit. Add this to ~/.bashrc alias edit='/usr/bin/bbedit' -- Rod -- You received this message because you are subscri

Re: make bbedit default edit

2012-06-14 Thread Maarten Sneep
Robert Sica schreef op 2012-06-14 15:00: Yes I did. I got it working in .bash_profile. Did not use -w --resume. Should I? Why? vi will not return until the file is saved and you quit the editor. Some other tools will rely on this behaviour, notably many revision control systems (mercurial fo

Re: make bbedit default edit

2012-06-14 Thread Robert Sica
Yes I did. I got it working in .bash_profile. Did not use -w --resume. Should I? Why? -- 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

Re: make bbedit default edit

2012-06-14 Thread Steve Kalkwarf
On Jun 13, 2012, at 6:35 PM, bobPCL wrote: > I had the command export EDITOR="/usr/bin/edit" in a .profile. I changed this > to both /usr/bin/bbedit and just bbedit, and got the error -bash: edit: > command not found After adding the line export EDITOR="bbedit -w --resume" to .profile, you ne