General commits
Cannot be bothered to add message
This commit is contained in:
@@ -17,7 +17,7 @@ some reasoning given.
|
||||
Some sections border on blog posts justifying why I think they're good
|
||||
applications or giving some greater reasoning about my specific
|
||||
configuration of a package. If you don't really want that, you may
|
||||
tangle this file and just read their source code.
|
||||
tangle this file and just read the source code.
|
||||
* Basics
|
||||
Firstly, set full name and mail address. This is used in encryption
|
||||
and mailing.
|
||||
@@ -323,7 +323,7 @@ simplicity is above all.
|
||||
0 1))))
|
||||
"] "
|
||||
"%+"
|
||||
(-12 "%b")
|
||||
"%b"
|
||||
"(" ;; Buffer name
|
||||
(:eval (format "%s" major-mode))
|
||||
") "
|
||||
@@ -3115,7 +3115,7 @@ them. This allows me to search my configuration pretty quickly.
|
||||
(defun +org/search-config-headings ()
|
||||
"Searches config.org for org headings via +org/swiper-goto"
|
||||
(interactive)
|
||||
(with-current-buffer (find-file-noselect (concat user-emacs-directory "config.org"))
|
||||
(with-current-buffer (find-file (concat user-emacs-directory "config.org"))
|
||||
(+org/swiper-goto)))
|
||||
|
||||
:general
|
||||
@@ -3178,10 +3178,14 @@ what org-capture does.
|
||||
:init
|
||||
(setq
|
||||
org-capture-templates
|
||||
'(("t" "A todo" entry
|
||||
'(("t" "Todo" entry
|
||||
(file "")
|
||||
"* TODO %?
|
||||
%T
|
||||
%a")
|
||||
("b" "Bookmark" entry
|
||||
(file "bookmarks.org")
|
||||
"* TODO %? :bookmark:
|
||||
%a"))
|
||||
org-default-notes-file (concat org-directory "/todo.org"))
|
||||
:general
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Aryadev Chavali
|
||||
Copyright (c) 2023 Aryadev Chavali, 2024 Aryadev Chavali
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
55
README.org
55
README.org
@@ -5,7 +5,7 @@
|
||||
This repository contains all of my custom configurations for programs
|
||||
I use daily.
|
||||
|
||||
* Setup and installation procedure
|
||||
* Setup and installation
|
||||
1) Clone this repository to =~/Dotfiles=
|
||||
2) Construct the following directories:
|
||||
+ =~/.local=
|
||||
@@ -22,6 +22,35 @@ I use daily.
|
||||
4) Pick and choose what configurations you want
|
||||
+ To install a module use ~stow <module>~
|
||||
+ To remove a module use ~stow -D <module>~
|
||||
|
||||
GNU/stow just makes it easier to instruct a new user on what to do:
|
||||
you can just setup symlinks from a given module to the root directory
|
||||
yourself.
|
||||
* Recommended usage
|
||||
* Emacs archives
|
||||
At https://aryadevchavali.com/resources/ I maintain a compressed
|
||||
backup of some of =~/.config/emacs=. The purpose of this is simply to
|
||||
escape having to clone this repository just to be able to use my
|
||||
editor: I can just copy then uncompress this backup to get a
|
||||
just-about-working version of my Emacs without having to do any
|
||||
further work. It isn't so I can have a completely working system,
|
||||
just some comfort in an otherwise potentially alien environment.
|
||||
|
||||
This script generates the archive:
|
||||
#+begin_src sh
|
||||
tar -Jcvf emacs-config.tar.xz \
|
||||
~/.config/emacs/config.org \
|
||||
~/.config/emacs/early-init.el \
|
||||
~/.config/emacs/init.el \
|
||||
~/.config/emacs/elisp/ \
|
||||
~/.config/emacs/straight/
|
||||
#+end_src
|
||||
|
||||
And this script sends it over via rsync
|
||||
#+begin_src sh
|
||||
rsync -avz --info=progress2 --info=name0 emacs-config.tar.xz \
|
||||
root@aryadevchavali.com:/var/www/html/resources
|
||||
#+end_src
|
||||
* Installing Emacs
|
||||
I like a specific set of flags on my Emacs install, and my
|
||||
configuration kind of depends on them existing as well. Prepackaged
|
||||
@@ -38,27 +67,3 @@ git clone git@github.com:oreodave/emacs-29-custom emacs;
|
||||
cd emacs;
|
||||
sh personal-install; # Will configure, build and attempt to install
|
||||
#+end_src
|
||||
* Emacs archives
|
||||
At [[https://aryadevchavali.com/resources/]] I want a kind of updated
|
||||
version of my configuration which contains most of my Emacs
|
||||
configuration. This is so I can quick start on most machines without
|
||||
having to pull the repositories for packages first, just spend time
|
||||
building bytecode.
|
||||
|
||||
This script generates the archive:
|
||||
#+begin_src sh
|
||||
tar -Jcvf emacs-config.tar.xz \
|
||||
~/.config/emacs/app.org \
|
||||
~/.config/emacs/config.org \
|
||||
~/.config/emacs/core.org \
|
||||
~/.config/emacs/lang.org \
|
||||
~/.config/emacs/early-init.el \
|
||||
~/.config/emacs/init.el \
|
||||
~/.config/emacs/elisp/ \
|
||||
~/.config/emacs/straight
|
||||
#+end_src
|
||||
|
||||
And this script sends it over via rsync
|
||||
#+begin_src sh
|
||||
rsync -avz --info=progress2 --info=name0 emacs-config.tar.xz root@aryadevchavali.com:/var/www/html/resources
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user