summaryrefslogtreecommitdiff
path: root/settings/setup-yaml-mode.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2016-11-11 23:21:51 -0800
committerbenj <benj@rse8.com>2016-11-11 23:21:51 -0800
commitf6ba59fca119f4decbb28818906fd063b3621413 (patch)
treec88d5d0e4d3ca6802f5ad99131eedcdf8fdeb0a8 /settings/setup-yaml-mode.el
parent20d185389026ba556efdcd31e2a952e843dba622 (diff)
downloademacs-f6ba59fca119f4decbb28818906fd063b3621413.tar
emacs-f6ba59fca119f4decbb28818906fd063b3621413.tar.gz
emacs-f6ba59fca119f4decbb28818906fd063b3621413.tar.bz2
emacs-f6ba59fca119f4decbb28818906fd063b3621413.tar.lz
emacs-f6ba59fca119f4decbb28818906fd063b3621413.tar.xz
emacs-f6ba59fca119f4decbb28818906fd063b3621413.tar.zst
emacs-f6ba59fca119f4decbb28818906fd063b3621413.zip
added magit and removed js2 in favor of web-mode
Diffstat (limited to '')
-rw-r--r--settings/setup-yaml-mode.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/setup-yaml-mode.el b/settings/setup-yaml-mode.el
new file mode 100644
index 0000000..f4e8a71
--- /dev/null
+++ b/settings/setup-yaml-mode.el
@@ -0,0 +1,7 @@
+(require 'yaml-mode)
+
+(add-hook 'yaml-mode-hook
+ (lambda ()
+ (define-key yaml-mode-map "\C-m" 'newline-and-indent)))
+
+(provide 'setup-yaml-mode)