Removed zero padding from date insert function

This commit is contained in:
Wryn Wagner 2020-10-06 17:47:51 -06:00
parent 99debcc9aa
commit 0f2c127cb8

View File

@ -34,8 +34,8 @@ augroup general_bindings
nnoremap Q !!$SHELL<CR>
" \d to insert formatted date before/after cursor
nnoremap <Leader>di :let @d = system("date '+%A, %B %d, %Y'")<CR>i<C-r>d<BS> <esc>
nnoremap <Leader>da :let @d = system("date '+%A, %B %d, %Y'")<CR>a <C-r>d<BS><esc>
nnoremap <Leader>di :let @d = system("date '+%A, %B %-d, %Y'")<CR>i<C-r>d<BS> <esc>
nnoremap <Leader>da :let @d = system("date '+%A, %B %-d, %Y'")<CR>a <C-r>d<BS><esc>
" \c \v to copy/paste from xclip
" @TODO: learn how to freaking compile vim with x11 compatibility so these