Comment by danaris

23 days ago

> Your problem is probably that your first instinct is to emulate your old workflow instead of finding a new workflow.

I recently started a new job, and was given a choice of Windows or Linux for my desktop. Picked Linux, specifically Ubuntu, since others there use Ubuntu. (I've been using Macs primarily for decades, but can operate in any OS.)

I have my workflow set up mostly fine now, but...there isn't really any alternative to BBEdit. Anywhere but the Mac. And believe me, I've looked. (I'd genuinely love to be proved wrong, though!)

The combination of

- a programmer's text editor

- that's not focused around "workspaces" (like VSCode—which I also use)

- that can do robust regexp search & replace, both within and across files

- that keeps its list of open files in a sidebar, vertically, rather than in tabs, across the top

- that can transparently open & save files requiring privilege elevation (just provide the password when needed)

- that can transparently open & save files over SFTP

- for free (there's a paid upgrade that unlocks more advanced features that are very neat, but that I have never yet needed)

...appears, from what I can tell, to be unique.

So I'm using...I forget, I think it's kate? and it's fine, I can operate...but between that and a variety of other little things, it's just a constant friction. Fortunately, I should be able to get a Mac laptop; it just needs to be quoted, approved, and ordered.

Have you tried Geany? It's what I use often. IDK about privilege escalation, you may need some sort of fumbling around with xhost.

SFTP is an interesting one, I am not sure how the interaction with filezilla goes. I tend to just use scp or edit files in nano over ssh.

I think you're describing emacs, or vim. :)

  • OK; you got me. I was insufficiently prepared for pedantry. Let's add another couple of critical points:

    - Must be a GUI application.

    - Must integrate at least somewhat reasonably with the platform's keyboard shortcuts and similar, not have its own entire way of doing things that needs 6 years to learn.

    • Not pedantry; just responding to your "genuine" desire for suggestions. My mistake, I guess.

      BBEdit is great, but if you need to learn something new anyway, or if being tied to macOS is ever going to be a concern, emacs or vim are equally-capable and cross-platform options.

      You can learn 90% of everything you will ever need in a week or two. You will never need to switch editors again. It's a great trade, all things considered.

      2 replies →