jojojames / dired-sidebar

Sidebar for Emacs leveraging Dired
GNU General Public License v3.0
506 stars 22 forks source link

No icons for remote directory #56

Closed Blade6570 closed 3 years ago

Blade6570 commented 3 years ago

Hi,

Thanks for this great package. It works flawlessly on local dirs but no icons are displayed for remote dirs over tramp. I am using the following settings in emacs-27/ubuntu 20.04.

(use-package dired-sidebar
  :bind (("C-x C-n" . dired-sidebar-toggle-sidebar))
  :ensure t
  :commands (dired-sidebar-toggle-sidebar)
  :init
  (add-hook 'dired-sidebar-mode-hook
            (lambda ()
              (unless (file-remote-p default-directory)
                (auto-revert-mode))))
  :config
  (push 'toggle-window-split dired-sidebar-toggle-hidden-commands)
  (push 'rotate-windows dired-sidebar-toggle-hidden-commands)

  (setq dired-sidebar-subtree-line-prefix "__")
  (setq dired-sidebar-theme 'vscode)
  (setq dired-sidebar-use-term-integration t)
  (setq dired-sidebar-use-custom-font t))
Blade6570 commented 3 years ago

duplicate