diff options
-rw-r--r-- | dotvimrc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -241,6 +241,20 @@ endfun noremap <F4> :call MPB_Flip_Ext()<CR> noremap <Leader>f :call MPB_Flip_Ext()<CR> +" Added for QSO logging +function! MPB_Prepend_Time() +python << endpython +import vim +import datetime + +now = datetime.datetime.utcnow() + +vim.current.line = now.strftime("%Y%m%d %H%M ") + vim.current.line +endpython +endfun + +noremap <F3> :call MPB_Prepend_Time()<CR> + noremap <Leader>m :make -j4<CR> "Show trailing whitespace |