summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/00-km-general.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/00-km-general.el b/init/00-km-general.el
index 7f9e29f..8b58dce 100644
--- a/init/00-km-general.el
+++ b/init/00-km-general.el
@@ -76,3 +76,6 @@
(blink-cursor-mode -1)
(put 'narrow-to-region 'disabled nil)
+
+(define-key prog-mode-map (kbd "RET") 'newline-and-indent)
+(define-key prog-mode-map (kbd "C-j") 'newline)