summaryrefslogtreecommitdiffhomepage
path: root/.exrc
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-04 01:25:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-04 01:25:55 +0200
commit61a639cb94b030eaeb408f28a05df03778c77ea4 (patch)
tree957595d9fe11d2ccf942ce0723c333dd92dedcc3 /.exrc
parentcc894301de253e3f7ecebd045b85c5c0936e9ad1 (diff)
Auto-save on ‘M’
Diffstat (limited to '.exrc')
-rw-r--r--.exrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.exrc b/.exrc
index b97aefa..e2d2318 100644
--- a/.exrc
+++ b/.exrc
@@ -2,7 +2,7 @@
set tw=80
" Auto-compile the site
-nnoremap M :make<CR><CR>
+nnoremap M :w<CR>:make<CR><CR>
" Macro to wrap abbreviations in ‘m4_abbr(…)’
let @a = 'wbim4_abbr(ea)'