Update treemacs buttons
This commit is contained in:
parent
f7e5ccc60d
commit
2e2cb42671
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
;; Rawley Fowler's init.el.
|
;;; GNU/EMACS --- Rawley Fowler's init.el.
|
||||||
;; I was a long time Vim user. But emacs stole my heart.
|
;; I was a long time Vim user. But emacs stole my heart.
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
(setq initial-scratch-message nil)
|
(setq initial-scratch-message nil)
|
||||||
(when (version<= "26.0.50" emacs-version)
|
(when (version<= "26.0.50" emacs-version)
|
||||||
|
@ -30,7 +32,6 @@
|
||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
(setq tab-width 4)
|
(setq tab-width 4)
|
||||||
(setq c-basic-offset 4)
|
(setq c-basic-offset 4)
|
||||||
|
|
||||||
;;;; Package management
|
;;;; Package management
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
|
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
|
||||||
|
@ -90,9 +91,10 @@
|
||||||
treemacs-width-is-initially-locked t))
|
treemacs-width-is-initially-locked t))
|
||||||
:bind
|
:bind
|
||||||
(:map global-map
|
(:map global-map
|
||||||
("C-x w w" . treemacs-select-window)
|
("C-x w e" treemacs-edit-workspaces)
|
||||||
|
("C-x w s" . treemacs-select-window)
|
||||||
("C-x w 1" . treemacs-delete-other-windows)
|
("C-x w 1" . treemacs-delete-other-windows)
|
||||||
("C-x w" . treemacs)))
|
("C-x w w" . treemacs)))
|
||||||
(require 'treemacs)
|
(require 'treemacs)
|
||||||
(treemacs-follow-mode t)
|
(treemacs-follow-mode t)
|
||||||
(treemacs-filewatch-mode t)
|
(treemacs-filewatch-mode t)
|
||||||
|
|
Loading…
Reference in a new issue