diff options
author | dx <aryadevchavali1@gmail.com> | 2020-06-14 00:10:49 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-06-14 00:11:59 +0100 |
commit | d6b66f75454b123b5dab9ad8739a1d384ff1d02f (patch) | |
tree | 2d815cb182a18f8e7583b87a461f43fbedd7fe21 | |
parent | 654167b8c9f868d7d70f470ead002f7feabab1a6 (diff) | |
download | dotfiles-d6b66f75454b123b5dab9ad8739a1d384ff1d02f.tar.gz dotfiles-d6b66f75454b123b5dab9ad8739a1d384ff1d02f.tar.bz2 dotfiles-d6b66f75454b123b5dab9ad8739a1d384ff1d02f.zip |
~clean up config.org
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Doom/.doom.d/org/config.org | 42 | ||||
-rw-r--r-- | Doom/.doom.d/org/personal.org | 8 | ||||
-rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 2 |
4 files changed, 16 insertions, 37 deletions
@@ -5,3 +5,4 @@ Emacs/.config/emacs/transient/* Emacs/.config/emacs/straight/* /Doom/.doom.d/org/*.el *.elc +/Emacs/.config/emacs/elpa/ diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 1863d0e..5229fe6 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -1,13 +1,11 @@ #+TITLE: Oreodave's Emacs configuration #+AUTHOR: Oreodave #+DESCRIPTION: My Doom Emacs configuration! -#+PROPERTY: header-args :results none * Preclude - This is my [[https://github.com/hlissner/doom-emacs][Doom Emacs]] configuration. - Use it for most of my code editing and development needs. - Incredibly versatile tool in my inventory. -- Has me like this half the time (╯°□°)╯┻━┻ * Initial setup ** Doom Variables - Set the doom localleader to "," because it's faster @@ -343,18 +341,10 @@ General keymap (map! :leader :prefix ("m" . "personal") ; Personal - :desc "Open Reviews" "a" #'(lambda () (interactive) (doom-project-find-file "~/Text/Reviews")) - :desc "Open books" "b" #'(lambda () (interactive) (dired (concat org-directory "/Books"))); I like my books - :desc "Convert auto-fill" "f" #'dx:org/fill-to-long-lines - :desc "Open school dir" "s" #'(lambda () (interactive) (dired (expand-file-name "~/School"))) - :desc "Open notes" "n" #'(lambda () (interactive) (dired org-directory)) - :desc "Open code" "c" #'(lambda () (interactive) (dired (expand-file-name "~/Code"))) - :desc "Open weather" "w" #'dx:weather - :desc "Change theme" "t" #'dx:themes/set-new-theme ; From my own collection - :desc "Generate template" "g" #'+gentemplate/generate-template ; From my own collection - (:after pdf-view - :desc "Goto page on pdf" "p" #'pdf-view-goto-page) - :desc "Reload emacs" "r" #'dx:reload) ; Reload is necessary + :desc "Open books" "b" #'(lambda () (interactive) (dired (concat org-directory "/Books"))); I like my books + :desc "Convert auto-fill" "f" #'dx:org/fill-to-long-lines + :desc "Change theme" "t" #'dx:themes/set-new-theme ; From my own collection + :desc "Generate template" "g" #'+gentemplate/generate-template) ; From my own collection #+END_SRC ** Counsel - Counsel keybind config @@ -436,6 +426,7 @@ General keymap :desc "Switch frames" "o" #'other-frame) #+END_SRC ** Remaps +Adding a new configuration option. Remapping functions that other modules set to default functions. #+BEGIN_SRC elisp (define-key! @@ -443,27 +434,22 @@ Remapping functions that other modules set to default functions. #+END_SRC ** Other *** Leader -- Miscellaneous leader bindings that don't really fit into any particular item +Miscellaneous leader bindings that don't really fit into any particular item #+BEGIN_SRC elisp (map! :leader - :desc "M-x" "SPC" #'execute-extended-command ; Redefine as M-x because of my muscle memory with spacemacs - :desc "Shell command" "!" #'async-shell-command ; Better than M-! - (:prefix ("b" . "buffers") ; Buffers - :desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows) + :desc "M-x" "SPC" #'execute-extended-command ; Redefine as M-x because of my muscle memory with spacemacs + :desc "Shell command" "!" #'async-shell-command ; Better than M-! + (:prefix ("b" . "buffers") + :desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows) (:prefix ("f" . "files") - :desc "Recent files" "r" #'counsel-recentf - :desc "Find in dotfiles" "p" #'(lambda () (interactive) (doom-project-find-file "~/Dotfiles"))) - (:prefix ("o" . "open") - (:when (featurep! private rss newsticker) - :desc "Open newsticker" "n" #'+rss/open-newsticker - :desc "Close newsticker" "N" #'+rss/close-newsticker) - (:after org - :desc "Calendar" "c" #'=calendar)) + :desc "Recent files" "r" #'counsel-recentf + :desc "Find in dotfiles" "p" #'(lambda () (interactive) (doom-project-find-file "~/Dotfiles"))) (:prefix ("n" . "notes") - :desc "Open notes in dired" "-" #'(lambda () (interactive) (dired org-directory)))) + :desc "Open notes in dired" "-" #'(lambda () (interactive) (dired org-directory)))) #+END_SRC *** Non-leader +Non-leader bindings for text-based commands. #+BEGIN_SRC elisp (map! :n "TAB" #'evil-jump-item diff --git a/Doom/.doom.d/org/personal.org b/Doom/.doom.d/org/personal.org index b07dd4e..0f1e7d4 100644 --- a/Doom/.doom.d/org/personal.org +++ b/Doom/.doom.d/org/personal.org @@ -8,14 +8,6 @@ Some user variables (setq user-full-name "Aryadev Chavali" user-mail-address "aryadevchavali1@gmail.com") #+END_SRC -* Reload -Reload the doom session by brute force fully loading the "config.el" file in the doom private directory. -#+BEGIN_SRC elisp -(defun dx:reload () - "Reload instance of doom" - (interactive) - (load-file (concat doom-private-dir "config.el"))) -#+END_SRC * Change theme Allow user to set a theme from a limited set of candidates, based on "dx:theme-list". diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 17c7f48..237a717 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -144,7 +144,7 @@ font: #style: Bold Italic # Point size - size: 12.0 + size: 10.0 # Offset is the extra space around each character. `offset.y` can be thought of # as modifying the line spacing, and `offset.x` as modifying the letter spacing. |