Commit Graph

598 Commits

Author SHA1 Message Date
Aryadev Chavali
c248ab0852 (Emacs)~tons of edits
I can't be bothered to annotate any of these.  Thinking of making a
new Emacs configuration as this one is unnecessarily bloated and I
can't think of any other way to fix it.
2022-01-06 00:47:37 +00:00
Aryadev Chavali
50acf591dc (Emacs)+mode-line-misc-info section to default modeline
Just in case any mode decides to print there, might have some useful info.
2022-01-06 00:44:35 +00:00
Aryadev Chavali
338dd2f3c5 (Emacs)~fringe-mode 'no-fringes->0
No fringe style of life, makes me feel like I'm fully subsumed into
the Emacs experience.
2022-01-06 00:44:09 +00:00
Aryadev Chavali
da77d7408d (Emacs)~evil-mc definition emacs->general
The keybindings used to use :bind, which relies on the
underlying (define-key) mechanism of Emacs.  However, as general is
loaded beforehand and it provides a ton of useful wrappers, let's use
those instead.

Makes the code look nicer as well.
2022-01-06 00:42:46 +00:00
Aryadev Chavali
f61c304ea3 (Emacs)~prettify symbols so they don't screw up heights 2021-11-26 19:19:20 +00:00
Aryadev Chavali
e9825c7131 (Emacs)+olivetti
Check the edit for a description of the package.  Just setup a
toggle based function to turn on olivetti-mode.
2021-11-22 06:20:05 +00:00
Aryadev Chavali
074182ab18 (Emacs)+turn off borders
Using fringe widths, turn off borders in Emacs.  Truly freeing
experience.
2021-11-22 06:20:05 +00:00
Aryadev Chavali
f46a8daad1 (Emacs)~clear up 2021-11-22 06:20:05 +00:00
Aryadev Chavali
9587f92757 (Emacs)+bindings for literate compile function
Described in the edit section, just read.
2021-11-22 06:20:05 +00:00
Aryadev Chavali
f1fba0ae2f (Emacs)~telephone-line -> Emacs default mode line
Using my Emacs default mode line config for a bit, might change.
2021-11-22 06:16:53 +00:00
Aryadev Chavali
45c5cf7761 (Emacs)+Zone package
Kinda useless but I think it could be nice.
2021-10-20 06:08:56 +01:00
Aryadev Chavali
1ecae62342 (Emacs)~indenting, ~rearrange keybindings
Change to M-c for correcting word bindings in flyspell.
2021-10-20 06:08:15 +01:00
Aryadev Chavali
04c80df2b7 (Emacs)~corrections
Using flyspell.
2021-10-20 06:07:33 +01:00
Aryadev Chavali
b1908e7fe3 (Emacs/CC mode)+hook to clang format buffer on save
Just a nicer format, good for git commits.
2021-09-15 12:18:30 +01:00
Aryadev Chavali
7121da840d (Emacs)-remove most of org auto insert
Kinda not necessary for the vast majority of non exported files, I can
just write whatever I need into there manually if necessary.
2021-09-15 12:16:04 +01:00
Aryadev Chavali
97bb7e9d7f (Emacs)~rename and rearrange some code 2021-09-15 12:15:15 +01:00
Aryadev Chavali
1ab74174c6 (Emacs)+auto run command after save hook
Useful macro for running commands on certain buffers after save.
Check the specific heading for details.
2021-09-15 12:13:40 +01:00
Aryadev Chavali
6869eb5260 (Emacs)~profiler-dotemacs from lisp->elisp folder 2021-09-01 16:03:04 +01:00
Aryadev Chavali
5995a1bc66 (Emacs)~personal theme faces
~highlight is now a darker face of gray, region is lighter

+org-verbatim & org-code faces so they are more distinctive

+haskell-interactive-face-prompt for aesthetics
2021-07-29 01:38:11 +01:00
Aryadev Chavali
093879c455 (Emacs)+telephone-line link in Emacs modeline section
I don't use the default modeline right now, hence I should link to my
current setup for modelines.
2021-07-29 01:36:43 +01:00
Aryadev Chavali
1f0ad33db6 (Emacs)+demand dashboard package and setup initial-buffer-choice
The dashboard is the first thing I should see when entering Emacs,
hence I should demand the package instead of deferring it.  Doing so
means that dashboard is loaded instantly and will generate the
=*dashboard*= buffer, which I can set =initial-buffer-choice= to be.
2021-07-29 01:36:26 +01:00
Aryadev Chavali
f6559f92ff (Emacs)~abbrevs sdte->sdate && stme->stime
Need to be more verbose, also stime and sdate are easier to remember
than their shorter counterparts.
2021-07-29 01:32:50 +01:00
Aryadev Chavali
f3436334d8 (Emacs)~new versions for straight.el 2021-07-28 19:17:49 +01:00
Aryadev Chavali
e7b75d1d90 (Emacs)+unicode-emoticons package
Pretty self explanatory, useful in READMEs
2021-07-28 19:10:50 +01:00
Aryadev Chavali
07a756e3d1 (Emacs)+mwim package with binds
mwim is a cool package that allows for easy leet movements.
2021-07-28 19:10:44 +01:00
Aryadev Chavali
76bf60ee25 (Emacs)~split SPC i into a prefix
=counsel-unicode-char= has been bound to "<leader> ic" which allows
me to use TeX and other unicode symbols without switching to the TeX
keyboard.  =yas-insert-snippet= has been bound to "<leader> ii"
2021-07-28 19:07:08 +01:00
Aryadev Chavali
bee2255253 (Emacs)~text and code changes
Just cleaned up some links and descriptions that didn't really make sense.

Also added some defers and cleaned up some hooks.
2021-07-28 19:06:49 +01:00
Aryadev Chavali
c8ae4683a0 (Emacs)~dx:->+dx/ namespace (use +dx: for variables and constants)
There was a split in namespace across my config: "+dx/" or "dx:".
"dx:" was used for older functions created near the start of this
config, while "+dx/" is used basically everywhere else and is my
preferred namespace for new functions.  Hence I resolve this conflict
in this commit.
2021-07-28 18:58:25 +01:00
Aryadev Chavali
0a613ae8f4 (Emacs)-HTML_CONTAINER calls in headings
No need to clutter my config with HTML setups, instead just use the
table of contents to get to places.
2021-07-28 18:57:02 +01:00
Aryadev Chavali
f045dd146f (Emacs)+recentf-mode integration, +org-export-backends variable 2021-07-27 01:36:42 +01:00
Aryadev Chavali
b854e1ccaa (Emacs)~alpha 85 -> 95
Personal theme doesn't work on such a low transparency (I chose
colours that are less vibrant and poppy, going for a low-key theme)
hence set the alpha higher.
2021-07-27 01:35:46 +01:00
Aryadev Chavali
f202567d74 (Emacs)~minor changes in spelling and sentences, changes in filenames 2021-07-27 01:35:19 +01:00
Aryadev Chavali
a2456828b1 (Emacs)~changed theme back to personal
Don't even remember when I changed theme but it's gone back to
personal (my custom theme).  I changed a few things for the theme as
well, just a few colours.
2021-07-27 01:34:31 +01:00
Aryadev Chavali
ad5cb2b509 (Emacs)~move elips files into elisp/ folder
These files were cluttering the main directory, I'd rather just have
my config files here.
2021-07-26 01:49:38 +01:00
Aryadev Chavali
a6f1a172de (Emacs)+haskell-multiedit
Just some code to make editing in the Haskell REPL a nicer
experience.  Allows me to write multi-line code in a separate buffer
with haskell-mode switched on, then with a simple keybinding paste and
evaluate the full code in the Haskell REPL.  The keybindings and
workflow are similar to org-src block editing (create a new buffer,
then paste the contents back into the original buffer).
2021-07-26 01:40:37 +01:00
Aryadev Chavali
b3f78e588b (Emacs|Scripts)~minor edits
(Emacs)~changed some descriptions, formatting, edits of assigned
functions

(Scripts)~allow psearch to use all arguments supplied rather than just
the first one (pacman -Ss actually greedily consumes all arguments
given as part of the search)
2021-07-26 01:39:14 +01:00
Aryadev Chavali
d59c38f134 (Emacs|General)+all of .config from my Emacs config
The .config folder stores the configurations generated by various
packages.  For the purposes of cleanliness and also generalisation I
might as well VC it.
2021-07-25 15:44:55 +01:00
Aryadev Chavali
67a4addcd0 (Shell|Scripts|Emacs)~minor edits
+psearch function to search pacman with less (I use this all the time,
just makes it easier to do in one go)
~speed script to use a slightly larger file so user can get a better
estimate of dl speed
~ada-mode slightly better comments
2021-07-25 15:44:48 +01:00
Aryadev Chavali
1c82737b1e (Emacs)-dashboard on new frame hook
Too much of a hassle, screws up magit messages
2021-07-25 15:44:48 +01:00
Aryadev Chavali
7a2b48335c (Emacs)~logo to oreo logo 2021-07-25 15:44:48 +01:00
Aryadev Chavali
1aa826227e (Emacs)~minor edits
~haskell-process-type is now stack-ghci
+feature to switch to dashboard with each new frame
2021-07-25 15:44:48 +01:00
Aryadev Chavali
ae45e8744d (Emacs)+html auto insert template 2021-07-25 15:44:48 +01:00
Aryadev Chavali
d9de886caf (Emacs)+undo-tree package and fit into Evil 2021-07-25 15:44:48 +01:00
Aryadev Chavali
6ec0aad87e (Emacs)~some changes, checkout the message for details
~changed unicode true
~minor edits to text
~org-imenu-depth is set higher so it can be substituted for org-goto
-+autotyping/gen-skeleton-abbrev as I'm using yasnippet now
2021-07-25 15:44:48 +01:00
Aryadev Chavali
91c8da0e83 (Emacs)+snippets from doom-snippet and removed default package
I've re-enabled yasnippet for ease of use, and added a ton of snippets
directly into my Dotfiles so only I get to curate what snippets are
removed.  Screw downloading them off someone else's repository at
their total mercy.
2021-07-25 15:44:48 +01:00
Aryadev Chavali
ad0a18927b (Emacs)~emacs 27 downgrade, no need for evil-undo-system
Keep this commit in case I wanna go back to Emacs 28
2021-07-10 17:08:47 +01:00
Aryadev Chavali
325d8b4ef7 (General)~loads of commits, getting ready to port dotfiles to another machine 2021-07-06 19:02:25 +01:00
Aryadev Chavali
2a26169b56 (Repo)~general changes that I cba to document 2021-05-06 22:11:47 +01:00
Aryadev Chavali
6855c65a70 (Emacs)-preambles, just make it part of the main text body 2021-03-25 13:18:09 +00:00
Aryadev Chavali
ce33723c20 (Emacs)~cleaned up loads of bindings into one use-package decl 2021-03-25 10:19:35 +00:00