In all other modes of Emacs I am quite used to using Alt-Left and Alt-Right to move the cursor one word left or right respectively. However in Org-mode, the Alt key is used to change the hierarchy of a headline. This has been a major source of annoyance. How can I have the Alt key work normally in org-mode and use Esc-Left and Esc-Right to do the changing of headline hierarchy?
Changing meta key in Emacs Org mode
672 Views Asked by bhanukiran At
1
There are 1 best solutions below
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in ORG-MODE
- yasnippet weird-input when org-mode :tag: on same line
- Mark-up for bold and italic in emacs org-mode
- Error loading D:\cygdrive\d\path\to\my\file.pdf
- org-mode agenda view matching tag and todo state
- Emacs org-mode gnuplot : Error running timer: (void-variable data-file)
- Org agenda how to define a customized command
- Merge orgmode tables vertically
- In org-mode how to break current section and escape to upper level
- Conditional Gitignore
- How to bulk copy in org agenda
- Why is evaluation of this python code block disabled in emacs org mode?
- How to display inline image in Emacs
- Changing meta key in Emacs Org mode
- Execute Java code block in org mode
- Narrow buffer, using org-match-sparse-tree?
Related Questions in KEY-BINDINGS
- How to bind a hotkey
- VIM hjkl navigation keys, aganist existing muscle memory of arrow keys
- How do I bind the spacebar to the default function of ctrl in a listbox in python 3.4 with tkinter
- Sublime Text run a macro with key bindings
- I am able to capture the TAB in a jtable, but how do I capture the SHIFT+TAB?
- How do I use key name in key bindings?
- Where to find emacs ansi-term bindings
- How do I access the name of the action defined in a Java key binding?
- Why do KeyBindings, but not KeyListeners, detect ActionEvents in the following example?
- Can I bind action to a keypress in Emacs?
- Sublime Key Binding "TAB" to exit parenthesis, quotes etc, EXCEPT when it is the first character on the line
- Dyalog APL - Disabling APL symbol input
- Extend keybindings in JTable
- Enable spectacle keybindings with sublime text 2 on OSX Mavericks
- Custom key bindings in OSX terminal
Related Questions in MAJOR-MODE
- Changing meta key in Emacs Org mode
- lisp emacs regex syntax for major modes
- emacs - stop adding indentation to current and next line when pressing RET
- Emacs cc major mode showing no color on Ubuntu but lisp mode does
- Where am I going wrong in defining emacs major mode?
- How do I get all paragraphs in Emacs Lisp?
- How to write an emacs major-mode like dired
- How to turn off electric-indent-mode for specific Major mode?
- Emacs add consistent indent rule to generic-x mode
- Emacs change list auto indenting
- describe binding filtering in emacs
- How do I add syntax highlighting support for TypeScript string interpolation in an Emacs major mode?
- How to get the character corresponding to syntax in a major-mode
- Unable to register major mode
- How to start a specific mode with emacs?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The M-left/M-right behaviour is defined in the global keymap. Bindings in the global key map can be overridden by bindings in mode specific keymaps. This means that in order to get the global behaviour you need to remove the mode specific keymap setting.
If you open an org file and type C-h k, you will be prompted for a key sequence. Enter M-left or M-right and it will tell you what keymap that binding is defined in.
Once you know that, you can uses one of the various commands to clear that binding. For example, you can set the binding to nil (or I think the symbol 'ignore may work as well). i.e.
should work. Note however, you probably need to put this in one of the org-mode hooks run after org mode is loaded as your command needs to run after org mode ahs run. Check the org manual for which hook would be most appropriate.