I have the following code in my vimrc
file:
" move line to end of file and add a timestamp
noremap ,d ddGp,t
" append a timestamp to the end of the line
nnoremap ,t A <Esc>"=strftime("%H:%M")<CR>p
In the above code, ,t
works when called by itself. However, when called by ,d
the ,t
command does nothing. The rest of the ,d
command functions as expected. Why is this? How do I fix it?