Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

As a begginer in vim I would like to have visual feedback when operating with registers. And by default when pasting from registers, namely when you start a commmand with the " and then specify register name and then the command like "p", you don't have any clue niether if you type the register name correctly nor if the following command have any typo. Is there a way to make vim show the full command when you start it with "?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
384 views
Welcome To Ask or Share your Answers For Others

1 Answer

There is a plugin to do exactly that:

https://github.com/junegunn/vim-peekaboo

Peekaboo will show you the contents of the registers on the sidebar when you hit " or @ in normal mode or in insert mode. The sidebar is automatically closed on subsequent key strokes

If you simply want to see the contents of your registers, you can use :reg

Check :h :reg


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...