junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.15k stars 38 forks source link

Restore alternate buffer #49

Open urbainvaes opened 6 years ago

urbainvaes commented 6 years ago

This ensures that the alternate buffer is restored after closing the peekaboo window. Without this change and if peekaboo_window = 'enew', the content of the buffer is lost.