1

I don't know if your end goal is to be able to chain any shell commands or not... nnoremap <silent> sp :silent r! date "+\%T"<CR>:silent !echo $PWD/'%' > /dev/null<CR>:redraw!<CR> Might do what you need. You can also check :h system() or :h systemlist() functions to do the same: nnoremap <silent> sp :call append('.'...


Only top voted, non community-wiki answers of a minimum length are eligible