aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-rw-r--r--projects/aodocs.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim
index 0d9c2e3..b10bae2 100644
--- a/projects/aodocs.vim
+++ b/projects/aodocs.vim
@@ -59,6 +59,12 @@ augroup END
cnoremap <C-x>u <C-r>=$VIM_PROJECT_PATH_AODOCS_UFO_TICKET_FOLDER<CR>
+" Write to a temporary file labelled with the current time.
+command! -nargs=0 -bang WChat
+ \ execute ":write\<bang> " . $VIM_PROJECT_PATH_AODOCS_CHAT_DRAFTS
+ \. '/chat-draft-' . strftime('%FT%H.%M.%S') . '.txt'
+
+
" Enables a longer-than-72 character first line and 72 character wrapping on
" subsequent lines.
function! s:CommitWackoTextWidth()