Neotree: mostrar archivos ocultos excepto los archicvos que inican con #.

This commit is contained in:
kj 2020-08-17 01:41:22 -04:00
parent 36d0ba572e
commit e2f75ac928

View File

@ -152,7 +152,8 @@
(require 'neotree) (require 'neotree)
(setq neo-theme (if (display-graphic-p) 'icons 'all-the-icons)) (setq neo-theme (if (display-graphic-p) 'icons 'all-the-icons))
(setq neo-window-fixed-size nil) (setq neo-window-fixed-size nil)
(setq-default neo-show-hidden-files t) ;(setq-default neo-show-hidden-files t) ;Mostar archivos ocultos
(setq neo-hidden-regexp-list '("^#.*$" )) ;Mostrar archivos ocultos excepto los #archivos
(defun my/disable-line-numbers (&optional dummy) (defun my/disable-line-numbers (&optional dummy)
(display-line-numbers-mode -1)) (display-line-numbers-mode -1))
(add-hook 'neo-after-create-hook 'my/disable-line-numbers) (add-hook 'neo-after-create-hook 'my/disable-line-numbers)