diff options
-rw-r--r-- | bundle/wchat/plugin/wchat.vim | 8 | ||||
-rw-r--r-- | projects/aodocs.vim | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/bundle/wchat/plugin/wchat.vim b/bundle/wchat/plugin/wchat.vim deleted file mode 100644 index 7c17898..0000000 --- a/bundle/wchat/plugin/wchat.vim +++ /dev/null @@ -1,8 +0,0 @@ -if exists('g:loaded_wchat') - finish -endif -let g:loaded_wchat = 1 - -" Write to a temporary file labelled with the current time. -command! -nargs=0 -bang WChat - \ execute ":write\<bang> /tmp/ch" . strftime('%H%M') 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() |