diff --git a/.emacs.d/init.el b/.emacs.d/init.el index beb850c..3f1584f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1,5 +1,21 @@ +;Record startup timestamp +(defvar super-emacs/invokation-time + (current-time)) + +;Load configuration files (load-file "~/.emacs.d/super-emacs/repositories.el") (load-file "~/.emacs.d/super-emacs/packages.el") (load-file "~/.emacs.d/super-emacs/interface.el") (load-file "~/.emacs.d/super-emacs/misc.el") (load-file "~/.emacs.d/super-emacs/key-bindings.el") + +;Print welcome message +(princ (cl-concatenate 'string + "Startup completed in " + (number-to-string (cadr (time-subtract (current-time) + super-emacs/invokation-time))) + " seconds\n\n" + "Welcome to super-emacs!\n\n" + "Today's date: " + (format-time-string "%B %d %Y")) + (get-buffer-create (current-buffer))) diff --git a/.emacs.d/super-emacs/key-bindings.el b/.emacs.d/super-emacs/key-bindings.el index 6b3f137..d2ad3ae 100644 --- a/.emacs.d/super-emacs/key-bindings.el +++ b/.emacs.d/super-emacs/key-bindings.el @@ -5,6 +5,7 @@ ("C->" . ace-jump-mode) ("C-<" . ace-jump-mode-pop-mark) ("M-/" . undo-tree-visualize) + ("C-\," . neotree-toggle) ("C-\"" . theme-looper-enable-next-theme) ("C-M-'" . myterminal-controls-open-controls) ("C-c M-x" . execute-extended-command) diff --git a/.emacs.d/super-emacs/packages.el b/.emacs.d/super-emacs/packages.el index 3c49325..9309037 100644 --- a/.emacs.d/super-emacs/packages.el +++ b/.emacs.d/super-emacs/packages.el @@ -13,7 +13,10 @@ auto-complete ztree undo-tree + neotree material-theme + dired-launch + which-key meta-presenter myterminal-controls theme-looper)) @@ -29,6 +32,13 @@ ;Start undo-tree (global-undo-tree-mode) +;Set hooks for dired-launch-mode +(add-hook 'dired-mode-hook + 'dired-launch-mode) + +;Start which-key-mode +(which-key-mode) + ;Set up ace-jump-mode (autoload 'ace-jump-mode "ace-jump-mode" @@ -42,7 +52,7 @@ ;Enable powerline (powerline-center-theme) (setq powerline-default-separator - 'wave) + 'slant) ;Configure theme-looper (theme-looper-set-theme-set '(deeper-blue