Linked Questions

2
votes
3answers
677 views

Global key binding overriden by undo-tree [duplicate]

I am trying to remap globally C-/ but the undo-tree package hinders me from doing so. When calling this command (in my init file): (global-set-key (kbd "C-/") 'left-char) after having loaded undo-...
0
votes
1answer
112 views

How can i define a keybinding, which can't be modified, once it is set? [duplicate]

vim has a really great feature for defining keybindings. from the vim docs: :cno[remap] {lhs} {rhs} |mapmode-c| *:cno* *:cnoremap* Map the key sequence {lhs} to {rhs} for the modes ...
1
vote
1answer
49 views

Give key binding absolute priority [duplicate]

I'd like to use M-<arrows> to move around windows in Emacs gtk, so I have added (windmove-default-keybindings 'meta) to my init.el. However, this is overridden by other modes such as elpy. Is ...
8
votes
3answers
2k views

Auto enable minor modes in fundamental-mode

By design, the fundamental-mode is bare bones as other major modes are supposed to derive from this one. From the info page (elisp) Major Modes, we have: This is the major mode command for ...
3
votes
3answers
580 views

AceJump key bindings not working in org-mode

My ace-jump-mode bindings don't seem to work when I'm editing in org-mode. This is how I define them in my .emacs. (progn (require 'ace-jump-mode) ...
6
votes
1answer
1k views

Disable org-mode keyboard shortcuts

Is there a simple way (e.g. customization option) to disable some of org-mode's keyboard shortcuts? I normally use shift-right_arrow or shift-left_arrow to select text (expand region), but in org-mode ...
2
votes
3answers
838 views

Disabling arrow keys in Emacs EVIL Mode

I wanted to disable arrow keys in my Emacs to practice vim key bindings using EVIL mode. So instead of using global-unset-key as someone here on stackexchange suggested. I used the following code in ...
2
votes
1answer
530 views

Remove key binding in magit-status-mode

I have C-RET set to other-window globally. For modes that would override this I manually add a hook to the mode's key map, e.g. (add-hook 'magit-log-mode-hook (lambda () (local-unset-key (kbd "<C-...
2
votes
2answers
275 views

Making Keys Pass Completely Through Emacs

An Autohotkey remapping script I'm using uses the function keys F13-F24 to keep track of layers. This means that {F13 Down}, for example, may get sent as a virtual key code. This works fine for most ...
0
votes
1answer
715 views

How do I override a keybinding defined by evil-mode?

I've searched for this before but I've only seen questions like the below: https://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs How to override major mode bindings I don'...
0
votes
0answers
214 views

“No such file or directory, bind-key” after installing use-package [duplicate]

I'm using Emacs on Windows 10. I want to override key bindings, so after reading How to override major mode bindings, I installed use-package with the built-in package manager (via M-x package-install ...
0
votes
1answer
55 views

Magit: How disable C-<tab>?

windows 10, emacs 26.1, I use package magit to work with git. Nice. When I press C-<tab> is collapse/expand recent commits: Nice. But if I press <tab> magit do same thing as when I ...
1
vote
1answer
35 views

How to change keybinding for all similar functions across all modes?

Suppose I rebind C-e (move-end-of-line) to C-o in the global-map. How can I make C-o the corresponding function in all modes (if it exists). So, for example, in org-mode C-o should be org-end-of-...