当前位置: 首页 > 工具软件 > neotree > 使用案例 >

Emacs设置侧边栏目录neotree(二)

夏侯腾
2023-12-01

1.下载neotree插件 


# git clone https://github.com/jaypei/emacs-neotree.git neotree
# cd neotree
# git checkout dev
# cp -rf neotree ~/.emacs.d/site-lisp

 2.配置插件

(add-to-list 'load-path "~/.emacs.d/site-lisp/neotree")
(require 'neotree)
(global-set-key [f5] 'neotree-toggle)
(global-set-key [f8] 'neotree-refresh)

3.修改窗口大小 


# emacs neotree/neotree.el
(defcustom neo-window-width 25
  "*Specifies the width of the NeoTree window."
  :type 'integer
  :group 'neotree)

注意:修改窗口宽度25为30:25--->30

 类似资料: