Skip to content

Effortlessly enhance your Org mode productivity with org-auctex-key-bindings. Implement multiple AUCTeX key bindings for smoother document editing. #emacs #latex #auctex #orgmode #productivityhack

License

Notifications You must be signed in to change notification settings

fniessen/org-auctex-key-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ADVERT: Elevate Your Emacs Skills in Paris, Rotterdam, Leuven or Valencia!

Unlock the power of Emacs in Valencia! Join my next exclusive “Emacs Boost” course on April 11th and 12th, 2024!

Are you ready to supercharge your productivity and become an Emacs ninja? Ready to become an Emacs pro? Look no further!

What you’ll learn:

  • Master Emacs from the basics to advanced tricks.
  • Boost your editing efficiency and streamline your workflow.
  • Customize Emacs to fit your unique needs.
  • Collaborate with fellow Emacs enthusiasts.
  • And much more!
  • When: April 11th and 12th (Thu + Fri)
  • Where: Valencia, Spain
  • Who should attend: Anyone interested in Emacs, from beginners to advanced users.

Why choose my course?

  • Expert instructor with 24 years of Emacs experience.
  • Hands-on exercises to reinforce your learning.
  • Networking opportunities with like-minded Emacs enthusiasts.
  • Personalized attention.

Don’t miss this opportunity to take your Emacs skills to the next level!
Seats are limited, so reserve yours today.

Visit https://emacsboost.com/ for more information, other dates and other locations, and to reserve your seat.

See you in Valencia! #EmacsBoostValencia

org-auctex-key-bindings http://img.shields.io/:license-gpl-blue.svg https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif

Implement many AUCTeX key bindings for Org mode documents, by giving them an “Org equivalent” or Org-like effect.

Download

Get the full Git repository at https://github.com/fniessen/org-auctex-key-bindings using the following command:

git clone https://github.com/fniessen/org-auctex-key-bindings.git

Installation

  • Install org-auctex-key-bindings:
    ;; make sure `org-auctex-key-bindings.el' is in your `load-path'
    (add-to-list 'load-path "/path/to/org-auctex-key-bindings")
    
    ;; require it as normal
    (require 'org-auctex-keys)
        
  • Restart Emacs.

Usage

Whenever you want to use AUCTeX key bindings inside your Org document, press C-+ or type:

M-x org-auctex-keys-minor-mode

You should now see AUCKeys in the list of minor modes, in your mode line.

Calling the same command another time (via C-+ or M-x org-auctex-keys-minor-mode) will disable the AUCKeys minor mode.

To get it automatically turned on in every Org buffer, add this in your Emacs configuration file:

(add-hook 'org-mode-hook 'org-auctex-keys-minor-mode)

AUCTeX keyboard shortcuts

Save time and boost your productivity in Org documents with AUCTeX keyboard shortcuts.

Enabled AUCTeX shortcuts for Org mode

Currently implemented:

ShortcutWhat it runs
C-c C-sorg-auckeys-insert-heading-respect-content
C-c C-jorg-auckeys-insert-heading
C-c C-f C-eorg-auckeys-font (emphasize)
C-c C-f C-borg-auckeys-font (bold)
C-c C-f C-torg-auckeys-font (typewriter)
C-c C-f C-iorg-auckeys-font (italic)
C-c C-eorg-auckeys-environment
C-c C-corg-auckeys-export-dispatch

As I’m not a heavy user of AUCTeX, I don’t know which other AUCTeX keys are important to be offered by this minor mode. Please tell me!

Disabled Org mode shortcuts

As there are conflicts between AUCTeX and Org key bindings, you’ll temporarily loose (whenever this minor mode is enabled) the standard behavior of:

ShortcutWhat it ran
C-c C-sorg-schedule
C-c C-jorg-goto
C-c C-forg-forward-heading-same-level
C-c C-eorg-export-dispatch
C-c C-corg-ctrl-c-ctrl-c

Though, you can easily regain them — without leaving org-auctex-keys — by prefixing your keys with one C-u. That will call the standard Org command without the C-u prefix.

In fact, it calls the standard Org command with one less C-u prefix; so:

  • C-u C-c C-s calls the original org-schedule,
  • C-u C-u C-c C-s calls the original org-schedule with one universal prefix argument,
  • C-u C-u C-u C-c C-s calls the original org-schedule with two universal prefix arguments,
  • and so on (provided it makes sense)

Another way to access a disabled Org mode shortcut is to disable org-auctex-keys temporarily, do what you want, and re-enable it; that is, press C-+ C-c C-s C-+ to call the original org-schedule.

Contributing

Issues

Report issues and suggest features and improvements on the GitHub issue tracker.

Patches

I love contributions! Patches under any form are always welcome!

Donations

If you like the org-auctex-key-bindings project and feel it is making your life better and easier, you can show your appreciation and help support future development by making a donation through PayPal. Thank you!

Regardless of the donations, org-auctex-key-bindings will always be free both as in beer and as in speech.

License

Copyright (C) 2013-2021 Free Software Foundation, Inc.

Author: Fabrice Niessen
Keywords: auctex key bindings org-mode

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Effortlessly enhance your Org mode productivity with org-auctex-key-bindings. Implement multiple AUCTeX key bindings for smoother document editing. #emacs #latex #auctex #orgmode #productivityhack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published