~decomposed startup module into personal config
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
(doom! :private
|
(doom! :private
|
||||||
;;(oreoline)
|
;;(oreoline)
|
||||||
bindings
|
bindings
|
||||||
startup
|
|
||||||
gentemplate
|
gentemplate
|
||||||
narrow
|
narrow
|
||||||
;; (ocaml +lsp)
|
;; (ocaml +lsp)
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
#+TITLE: private/startup
|
|
||||||
#+DATE: July 15, 2020
|
|
||||||
|
|
||||||
* Description
|
|
||||||
Basically setup the default Emacs mode-line and the scratch buffer for ease of use.
|
|
||||||
This replaces the =modeline= and =doom-dashboard= modules as it leverages the default Emacs utilities.
|
|
||||||
* Prerequisites
|
|
||||||
Emacs of some kind, preferably 27 just for the sake of preserving versioning.
|
|
||||||
* Requirements
|
|
||||||
None
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
;;; private/startup/config.el -*- lexical-binding: t; -*-
|
|
||||||
|
|
||||||
(defun +startup/create-scratch-message ()
|
|
||||||
"Generate a string for the scratch buffer"
|
|
||||||
(format "Welcome to Emacs! (。◕‿◕。)
|
|
||||||
Load time was %s
|
|
||||||
Time of startup: %s"
|
|
||||||
(emacs-init-time)
|
|
||||||
(current-time-string (current-time))))
|
|
||||||
|
|
||||||
(add-hook 'doom-first-input-hook
|
|
||||||
#'(lambda ()
|
|
||||||
(setq-default mode-line-format (list "%l:%c %P \t %+%b(" '(:eval (format "%s" major-mode)) ") \t %I \t" vc-mode mode-line-end-spaces))
|
|
||||||
(setq-default initial-scratch-message (+startup/create-scratch-message))))
|
|
||||||
@@ -44,6 +44,10 @@ Some quality of life things and others that I couldn't really put in one categor
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Package Configuration
|
* Package Configuration
|
||||||
Configuration for or based heavily around specific packages that I find very important
|
Configuration for or based heavily around specific packages that I find very important
|
||||||
|
** Modeline and startup
|
||||||
|
#+BEGIN_SRC elisp
|
||||||
|
(setq-default mode-line-format (list "%l:%c \t %P \t %+%b(" '(:eval (format "%s" major-mode)) ") \t %I \t" vc-mode mode-line-end-spaces))
|
||||||
|
#+END_SRC
|
||||||
** Ido
|
** Ido
|
||||||
Just add vimish keybindings to ido completion
|
Just add vimish keybindings to ido completion
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
|
|||||||
Reference in New Issue
Block a user