this post was submitted on 05 Mar 2026
115 points (95.3% liked)

linuxmemes

30474 readers
582 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    I personally havent really used emacs for organizing, but I really like it for bash coding and writing software documenation in orgmode. I am even starting to get a little bit comfortable at writing my .emacs file but at some point I will have to do a lot of reorganizing and updating and I kind of dont want to do it (I still use .emacs and not emacs.d/init.el and all keybindings still use the legacy global-set-key command).

    Apart from the work I am putting into it it is really great, because when I actually get to do stuff I can do so with great efficency. I am even starting to miss my emacs keybinds when not using emacs (especially ctrl-k for killing from your cursor position to the end of the line ctrl-a for jumping to the beginning of a line and ctrl-e for jumping to the end of a line). At this point when I am writing stuff in emacs (as example working on a bash script) I at maximum use my mouse for scrolling.

    Fuck, I really did turn into the meme (and I am not even using it for longer than 4-5 months at maximum)___

    you are viewing a single comment's thread
    view the rest of the comments
    [–] cows_are_underrated@feddit.org 1 points 1 day ago (1 children)

    Damn, didnt know you could do that. Will definitely look into it.

    [–] tal@lemmy.today 2 points 1 day ago* (last edited 1 day ago) (1 children)

    If you're specifically wanting to fiddle the Firefox keybinding the way I have (which may be too much effort for some people to deal with re-learning), the setting is:

    • Go change the GTK setting for the appropriate version of GTK. On my Debian trixie system, Firefox is using GTK 3:

        $ apt depends firefox|grep gtk
      
        WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
      
        Depends: libgtk-3-0t64 (>= 3.13.7)
        $
      

      I don't know whether it will change to GTK 4 anytime soon.

    • Go to about:config in the Firefox URL bar.

    • Set ui.key.menuAccessKey to 0. Normally, IIRC


    it's been many years that I've had this set, so I don't even really remember the original behavior for certain


    Firefox uses Alt in sorta the same way Windows does, to open menus. I don't like that, and this disables that functionality entirely to free up Alt.

    • Set ui.key.accelKey to 18. This makes the now-free Alt act like Control does as regards Firefox keyboard shortcuts.

    • I also have ui.key.contentAccess set to 0. It's been many years since I've set this, but...let's see. goes to look That disables the contentAccess key, prevents webpages from grabbing Shift-Alt-key sequences, which can also collide. Like, in the Lemmy HTML textarea that I'm currently writing this in, I can hit Shift-Alt-B and Shift-Alt-F to move the cursor forward and backward by a word while selecting text, the way I could in emacs (or, in emacs parlance, move point while extending the region).

    The problem is that now you've got Firefox, where things like "Alt-A" will select all text, and if you use other GUI apps, other apps, which may be using "Control-A" for that, so you gotta train your muscles to deal with it. I haven't thought about it in many years, as it's automatic now, but I remember it being super-obnoxious when I started.

    For me, it was worth it, because I use emacs all the time and Firefox all the time, and rarely use other graphical apps, so it reduced the amount of switching. But...depends on what someone's particular situation is, whether that makes sense for them.

    [–] cows_are_underrated@feddit.org 1 points 1 day ago (1 children)

    Will definitely look into it. Currently Emacs and Firefox are about my main applications I use (except spyder, which is a python IDE)

    [–] tal@lemmy.today 1 points 1 day ago* (last edited 1 day ago) (1 children)

    Well, cool. Hope it was helpful, then.

    I'll also mention one other point, if you're a big emacs and Firefox user. Won't solve the issue for URL bars or other non-webpage text, but if you do a fair bit of writing in HTML textareas in webpages, like on Lemmy instances or something, you can hand that off to (actual) emacs.

    • Install the edit-server package for emacs (M-x list-packages, wait for the emacs package manager to load the list, go to edit-server, hit "i" to flag for install and "x" to execute, or M-x package-install and just type out "edit-server").

    • In an emacs instance run M-x edit-server-start (or set it up to always run automatically at emacs startup but I run multiple emacs instances).

    • Grab the Edit with Emacs Firefox addon. Install.

    Now, by default all textareas will have a little blue button at the bottom reading "edit". Click it, and your textarea will open up in emacs. C-c C-c to commit changes back to the textarea (Or C-x C-c, if you're exiting that instance of emacs). You can also right-click on the textarea and choose "Edit with Emacs".

    • Install the edit-server package for emacs (M-x list-packages, wait for the emacs package manager to load the list, go to edit-server, hit "i" to flag for install and "x" to execute, or M-x package-install and just type out "edit-server").

    Jokes on you, I already mapped M-x package-install to S-p i.

    But that also sounds interesting. Will definitely try it out (and if its just for writing Lemmy comments)