aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2024-03-12 19:05:10 +0100
committerTeddy Wing2024-03-12 22:58:45 +0100
commitbfa73f62df16547c1c276e0521142f0711fba8ee (patch)
treef22c4251ecee60cbd44c040b298fde83d9aa266f
parentcfeee05bb0c327ea3e54ad9846d9eb5da1b443c8 (diff)
downloaddotvim-bfa73f62df16547c1c276e0521142f0711fba8ee.tar.bz2
projects/aodocs.vim: Add email signature mapping
Mapping to make it easier to insert a pre-defined signature in emails.
-rw-r--r--projects/aodocs.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim
index 0bb6f4a..da1f035 100644
--- a/projects/aodocs.vim
+++ b/projects/aodocs.vim
@@ -56,6 +56,10 @@ augroup AODocs
autocmd BufRead,BufEnter *.todo
\ nnoremap <buffer> <Leader>yy :call <SID>TodoCopyLast()<CR>
+
+ " Read an email signature
+ autocmd FileType mail
+ \ nnoremap <buffer> <leader>s :r $XDG_CONFIG_HOME/mutt/signatures/<C-d>
augroup END
" Insert a path to UFO ticket folders