I have this remap in my vimrc which makes the cooperation between vim and bash a lot easier:
function! LoadRegisters() let $y = @0 let $r = @" endfunction nnoremap <silent> : :call LoadRegisters()<enter>:
Basically I can just and use my internal registers in external commands without thinking about it. However, now, whenever I use the colon I'm confused because the colon doesn't appear at the bottom, well, because it's silent. Can I somehow make the function call silent, and then go unsilent again?
I don't know how to tag this...