2
votes
Accepted
Silently run two commands mapped by nnoremap in vim
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>:...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
silent-mode × 5vimrc × 1
key-bindings × 1
search × 1
substitute × 1
microsoft-windows × 1
ex-mode × 1
invocation × 1
ex-command × 1
redraw × 1