add more ergonomic neotree toggle
This commit is contained in:
parent
23f5fcd3b3
commit
4f681f35d6
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
;;; dired-custom.el --- Custom dired config -*- lexical-binding: t -*-
|
;;; dired-custom.el --- Custom dired config -*- lexical-binding: t -*-
|
||||||
|
|
||||||
;; This file is not part of GNU Emacs
|
;; This file is not part of GNU Emacs
|
||||||
|
@ -110,6 +111,8 @@
|
||||||
(use-package neotree
|
(use-package neotree
|
||||||
:config
|
:config
|
||||||
(define-key global-map (kbd "<f8>") 'neotree-toggle)
|
(define-key global-map (kbd "<f8>") 'neotree-toggle)
|
||||||
|
(when (equal system-type 'android)
|
||||||
|
(define-key global-map (kbd "<XF86Back>") 'neotree-toggle))
|
||||||
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)))
|
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)))
|
||||||
|
|
||||||
(provide 'dired-custom)
|
(provide 'dired-custom)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue