summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-23 10:57:16 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-23 10:57:16 +0000
commit366719afe5a74d418b9fafefb2f9b43f21ba6bae (patch)
treef5d6ebdf839b0cfbbd11ec4834630e41dea7f0d3 /init.el
parent9c7de6ef0b9e927e42dc4ca7849e895423c04850 (diff)
Further remappings based on https://sites.google.com/site/steveyegge2/effective-emacs
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el
index 86a5634..48a3e46 100644
--- a/init.el
+++ b/init.el
@@ -55,9 +55,16 @@
;; remap M-x to something else
+;; https://sites.google.com/site/steveyegge2/effective-emacs
(global-set-key "\C-x\C-m" 'execute-extended-command)
(global-set-key "\C-c\C-m" 'execute-extended-command)
+;; Remapping killing
+;; https://sites.google.com/site/steveyegge2/effective-emacs
+(global-set-key "\C-w" 'backward-kill-word)
+(global-set-key "\C-x\C-k" 'kill-region)
+(global-set-key "\C-c\C-k" 'kill-region)
+
;; recentf
(use-package recentf
:config