Skip to content

Instantly share code, notes, and snippets.

View win0err's full-sized avatar
⌨️
Sergei is typing...

Sergei Kolesnikov win0err

⌨️
Sergei is typing...
View GitHub Profile
@win0err
win0err / fedora-install-raw-thumbnailer.sh
Created February 19, 2023 22:54
Display .NEF (RAW) thumbnails in Gnome's Nautilus — Fedora
sudo dnf install libopenraw-gnome libopenraw libopenraw-pixbuf-loader raw-thumbnailer
@win0err
win0err / treemacs-toggle.el
Created August 7, 2023 08:39
Toggle treemacs window
(defun treemacs-toggle ()
"Toggle treemacs exclusively with the current project.
If the treemacs window is visible, hide it; otherwise, create and show it with the current project exclusively."
(interactive)
(if (eq (treemacs-current-visibility) 'visible)
(delete-window (treemacs-get-local-window))
(treemacs-add-and-display-current-project-exclusively)))
(global-set-key (kbd "C-c b") 'treemacs-toggle)