Casper Thule
2018-01-31 17:45:56 UTC
I am currently using spacemacs with auctex.
When I use reftex-toc and goto an item then it performs a vsplit and shows the content window on the right hand side.
How do I prevent this splitting behaviour? I would like it to open in the current window from which the reftex-toc command was issued.
I added this hook to maximize the newly opened window:
(add-hook 'reftex-toc-mode-hook 'spacemacs/toggle-maximize-buffer) but it is a suboptimal solution, as it influences other splits I might have made.
When I use reftex-toc and goto an item then it performs a vsplit and shows the content window on the right hand side.
How do I prevent this splitting behaviour? I would like it to open in the current window from which the reftex-toc command was issued.
I added this hook to maximize the newly opened window:
(add-hook 'reftex-toc-mode-hook 'spacemacs/toggle-maximize-buffer) but it is a suboptimal solution, as it influences other splits I might have made.