How to modify the default storage register of dd in vim
我想大声告诉你
我想大声告诉你 2017-05-16 16:38:13
0
1
623

Like the question, how to set the dd register to register 3?

我想大声告诉你
我想大声告诉你

reply all(1)
给我你的怀抱

noremap dd <esc>:let @p=@"<cr>dd:let @3=@"<cr>:let @"=@p<cr>

p.s. Side effect: The p register is occupied.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!