|
|
|
@ -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.
|
|
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
(setq inhibit-startup-message t)
|
|
|
|
|
(setq initial-scratch-message nil)
|
|
|
|
|
(when (version<= "26.0.50" emacs-version)
|
|
|
|
@ -30,7 +32,6 @@
|
|
|
|
|
(setq-default indent-tabs-mode nil)
|
|
|
|
|
(setq tab-width 4)
|
|
|
|
|
(setq c-basic-offset 4)
|
|
|
|
|
|
|
|
|
|
;;;; Package management
|
|
|
|
|
(require 'package)
|
|
|
|
|
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/"))
|
|
|
|
@ -90,9 +91,10 @@
|
|
|
|
|
treemacs-width-is-initially-locked t))
|
|
|
|
|
:bind
|
|
|
|
|
(: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" . treemacs)))
|
|
|
|
|
("C-x w w" . treemacs)))
|
|
|
|
|
(require 'treemacs)
|
|
|
|
|
(treemacs-follow-mode t)
|
|
|
|
|
(treemacs-filewatch-mode t)
|
|
|
|
|