So I use
pdf-tools to view pdf inside of emacs. I am also an Evil user and I mapped
Esc key so it's easier to switch between the modes.
If I have a vertical split arrangement, like this:
| some text file | a pdf opened by pdf-tools | | | |
If I switch to the
pdf-tools buffer and accidentally press
Escape twice (or in my case
CapLock twice), then the I would lose my split arrangement. In other words, I will be left with this:
| some text file | | |
In other words, this is similar to doing
C-x 0. Has anyone encountered this problem? Please let me know how you solve it.