Removed zero padding from date insert function
This commit is contained in:
parent
99debcc9aa
commit
0f2c127cb8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user