Unlike most people, I actually enjoy the scroll-bar mode in GUI Emacs. However, when I use ranger I typically don't need the scroll-bar. I had this in my init file:
which to be fair, successfully disables scrollbars on entering a ranger buffer. Problem is when I exit ranger, the scrollbars are never enabled again...
Unlike most people, I actually enjoy the scroll-bar mode in GUI Emacs. However, when I use ranger I typically don't need the scroll-bar. I had this in my init file:
(add-hook 'ranger-mode-hook (lambda () (scroll-bar-mode -1)))
which to be fair, successfully disables scrollbars on entering a ranger buffer. Problem is when I exit ranger, the scrollbars are never enabled again...