diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2020-07-24 20:59:31 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2021-02-06 10:40:54 -0600 |
commit | f4eafa58b56249e2daefc798db051b2ca6202205 (patch) | |
tree | 2c2670cd93110f01761da76e128edabdf1025ebc /emacs | |
parent | 0504f3e2a4e837823fe7e54ae9b32d431ff4df9d (diff) |
emacs: switch file tree
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/custom.el | 2 | ||||
-rw-r--r-- | emacs/.emacs.d/init.el | 22 |
2 files changed, 19 insertions, 5 deletions
diff --git a/emacs/.emacs.d/custom.el b/emacs/.emacs.d/custom.el index 7a12df9..6275483 100644 --- a/emacs/.emacs.d/custom.el +++ b/emacs/.emacs.d/custom.el @@ -8,7 +8,7 @@ ("13fa7a304bd53aa4c0beec4c25c4f811de499bce9deb326798265ed0015b3b78" "a41b81af6336bd822137d4341f7e16495a49b06c180d6a6417bf9fd1001b6d2b" "63df625509cec7b2b7deba1d48ef07ffbee99c735a95d130ad9d1fc3df8b9a34" "55c2069e99ea18e4751bd5331b245a2752a808e91e09ccec16eb25dadbe06354" "5f1bd7f67dc1598977e69c6a0aed3c926f49581fdf395a6246f9bc1df86cb030" "6731049cee8f7cbd542d7b3e1c551f3fab716a92119bd7c77f0bd1ef20849fb8" "28caf31770f88ffaac6363acfda5627019cac57ea252ceb2d41d98df6d87e240" "947190b4f17f78c39b0ab1ea95b1e6097cc9202d55c73a702395fc817f899393" "35b0b0e531731e270708ddb342dc2e576a31fb298dcbc56a206596a43afac54f" "274fa62b00d732d093fc3f120aca1b31a6bb484492f31081c1814a858e25c72e" default))) '(package-selected-packages (quote - (flycheck prettier-js calfw-org calfw org-ql org-super-agenda org-pomodoro org doom-themes counsel-projectile ivy slime neotree magit all-the-icons centaur-tabs company-quickhelp lsp-ui yasnippet typescript-mode company-lsp company-posframe company-c-headers telephone-line dracula-theme evil use-package)))) + (vscode-icon dired-sidebar flycheck prettier-js calfw-org calfw org-ql org-super-agenda org-pomodoro org doom-themes counsel-projectile ivy slime magit all-the-icons centaur-tabs company-quickhelp lsp-ui yasnippet typescript-mode company-lsp company-posframe company-c-headers telephone-line dracula-theme evil use-package)))) (custom-set-faces ;; custom-set-faces was added by Custom. diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 9b33d78..33d3d1f 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -2,6 +2,9 @@ (defun load-if-exists (filename) (when (file-exists-p filename) (load-file filename))) +(defun bab/disable-line-numbers (&optional dummy) + (display-line-numbers-mode -1)) + ;; --- BUG WORKAROUNDS --- ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34341 @@ -102,11 +105,22 @@ ("C-<next>" . centaur-tabs-forward)) ;; --- FILE TREE --- -(use-package neotree - :config - ;;(setq neo-theme (if (display-graphic-p) 'icons 'arrow)) +(use-package vscode-icon + :ensure t + :commands (vscode-icon-for-file)) + +(use-package dired-sidebar :bind - ("<f8>" . neotree-toggle)) + ("<f8>" . dired-sidebar-toggle-sidebar) + :commands + (dired-sidebar-toggle-sidebar) + :hook + (dired-sidebar-mode . bab/disable-line-numbers) + :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)) ;; --- AUTO-COMPLETE --- (use-package company |