diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-11 12:31:31 +0059 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-11-11 12:31:31 +0059 |
commit | fb483e5e855dc76dac64e85adffb4e79b83004b8 (patch) | |
tree | f0c8510a364c6078fd74f15775998c4e5c7cbf36 /accounts/gkleen@sif | |
parent | 3adbe51b43ed180c4e53ee0e02489467aa8ac078 (diff) | |
download | nixos-fb483e5e855dc76dac64e85adffb4e79b83004b8.tar nixos-fb483e5e855dc76dac64e85adffb4e79b83004b8.tar.gz nixos-fb483e5e855dc76dac64e85adffb4e79b83004b8.tar.bz2 nixos-fb483e5e855dc76dac64e85adffb4e79b83004b8.tar.xz nixos-fb483e5e855dc76dac64e85adffb4e79b83004b8.zip |
gkleen@sif: unbind arrow keys in mediawiki-mode-hook
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/emacs.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index 475574ff..eec01b61 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el | |||
@@ -20,6 +20,12 @@ | |||
20 | (edit-server-start) | 20 | (edit-server-start) |
21 | 21 | ||
22 | (require 'mediawiki) | 22 | (require 'mediawiki) |
23 | (add-hook 'mediawiki-mode-hook | ||
24 | (lambda() | ||
25 | (progn | ||
26 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) | ||
27 | (define-key mediawiki-mode-map (kbd "<C-right>") nil) | ||
28 | ))) | ||
23 | 29 | ||
24 | (global-subword-mode) | 30 | (global-subword-mode) |
25 | (global-undo-tree-mode) | 31 | (global-undo-tree-mode) |