aboutsummaryrefslogtreecommitdiff
path: root/Doom
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-07-16 19:11:20 +0100
committerdx <aryadevchavali1@gmail.com>2020-07-16 19:11:20 +0100
commit4bbf47fc4e4a52f00a181a92f95c37c778c85e5b (patch)
treeaec0e504d70c4d7fe4d2ad713ebda55955aed94c /Doom
parent6bdf6db3b453cff3a3f46f1b8f33cac6426f98ac (diff)
downloaddotfiles-4bbf47fc4e4a52f00a181a92f95c37c778c85e5b.tar.gz
dotfiles-4bbf47fc4e4a52f00a181a92f95c37c778c85e5b.tar.bz2
dotfiles-4bbf47fc4e4a52f00a181a92f95c37c778c85e5b.zip
~decomposed startup module into personal config
Diffstat (limited to 'Doom')
-rw-r--r--Doom/.config/doom/init.el1
-rw-r--r--Doom/.config/doom/modules/private/startup/README.org10
-rw-r--r--Doom/.config/doom/modules/private/startup/config.el14
-rw-r--r--Doom/.config/doom/org/config.org4
4 files changed, 4 insertions, 25 deletions
diff --git a/Doom/.config/doom/init.el b/Doom/.config/doom/init.el
index 19e9d44..ac7bf96 100644
--- a/Doom/.config/doom/init.el
+++ b/Doom/.config/doom/init.el
@@ -10,7 +10,6 @@
(doom! :private
;;(oreoline)
bindings
- startup
gentemplate
narrow
;; (ocaml +lsp)
diff --git a/Doom/.config/doom/modules/private/startup/README.org b/Doom/.config/doom/modules/private/startup/README.org
deleted file mode 100644
index 68b4376..0000000
--- a/Doom/.config/doom/modules/private/startup/README.org
+++ /dev/null
@@ -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
diff --git a/Doom/.config/doom/modules/private/startup/config.el b/Doom/.config/doom/modules/private/startup/config.el
deleted file mode 100644
index 48c4f5f..0000000
--- a/Doom/.config/doom/modules/private/startup/config.el
+++ /dev/null
@@ -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))))
diff --git a/Doom/.config/doom/org/config.org b/Doom/.config/doom/org/config.org
index e0bf129..93b20cb 100644
--- a/Doom/.config/doom/org/config.org
+++ b/Doom/.config/doom/org/config.org
@@ -44,6 +44,10 @@ Some quality of life things and others that I couldn't really put in one categor
#+END_SRC
* Package Configuration
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
Just add vimish keybindings to ido completion
#+BEGIN_SRC elisp