Commit Graph

1261 Commits

Author SHA1 Message Date
Aryadev Chavali
463bbda06e ~hook to after init to load after evil for which key 2020-08-15 00:07:23 +01:00
Aryadev Chavali
9fe2f0e7dd +hydra-goto-chg
Got from doom-emacs discord, allows for easy traversal through changes
in a document
2020-08-15 00:06:54 +01:00
Aryadev Chavali
107c86575f +mail description 2020-08-15 00:06:45 +01:00
Aryadev Chavali
84bc038f7b ~use package changes to suffix hook 2020-08-15 00:05:59 +01:00
Aryadev Chavali
06d50a2ab1 +counsel mode to end of config 2020-08-15 00:04:29 +01:00
Aryadev Chavali
6785ed0d98 ~move counsel describe to init 2020-08-15 00:04:20 +01:00
Aryadev Chavali
6ef0330f81 +activate ivy mode after counsel-mode 2020-08-15 00:04:06 +01:00
Aryadev Chavali
3a8b860569 ~:bind to :general for ivy 2020-08-15 00:03:00 +01:00
Aryadev Chavali
e8e4ba509c ~clean up evil-mc 2020-08-15 00:02:33 +01:00
Aryadev Chavali
7dd02a2a13 +hook to after-init for evil mode 2020-08-15 00:02:13 +01:00
Aryadev Chavali
119ed6b20b +some leader bindings
eval expression at ';', kill-emacs at 'q' and compile at 'cc'
2020-08-15 00:01:17 +01:00
Aryadev Chavali
5460412d96 +custom code to toggle any given buffer
When called, function will:

- Close buffer hosting window if buffer displayed
- Open new window displaying buffer

This can be useful for utils like eshell which don't provide this
functionality.
2020-08-15 00:00:37 +01:00
Aryadev Chavali
8034383cc6 ~made modeline config separator agnostic
Now I can use any separator for the modeline, like dashes.
2020-08-14 23:51:31 +01:00
Aryadev Chavali
a560d1d6f7 +turn off ring-bell 2020-08-14 23:51:05 +01:00
Aryadev Chavali
76bf20d358 ~clean up prose, remove any stuff that early-init.el does 2020-08-14 23:50:35 +01:00
Aryadev Chavali
d1cbadbf22 +use-package variables
Mostly just ease of use stuff like making sure hooks had normal suffixes
2020-08-14 23:49:14 +01:00
Aryadev Chavali
d85ed8faa9 +elisp header to (early-)init.el 2020-08-14 23:48:21 +01:00
Aryadev Chavali
af4953c5c0 +set gc-cons-threshold back to normal levels after load 2020-08-14 23:45:24 +01:00
Aryadev Chavali
cbd1676781 +early-init.el
From Emacs 27+, early-init.el provides control over stuff earlier than
UI load allowing for fine grained control over the load up. Here you
setup stuff such that Emacs loads this code most eagerly.

In this case, I set gc-cons-threshold to the highest value to
aggressively load the config without care for garbage collection, as
well as restricting standard package use. Along with that are some
basic UI things so that I don't have to deal with them even in load
up such as menu-bars and the alpha.

As this code is not error prone at all and is loaded before init.el
these choices allow for an easier debugging experience as well.
2020-08-14 23:41:38 +01:00
Aryadev Chavali
d3ce3f83a4 -ivy from eager loading in init.el
This is because ivy loads after init anyway.
2020-08-14 23:41:12 +01:00
Aryadev Chavali
6bc4d5e271 ~clean up with documentation generally 2020-08-14 23:41:03 +01:00
Aryadev Chavali
c97ffe9fde ~documentation to +literate/load-config as well as change to code 2020-08-14 23:39:30 +01:00
Aryadev Chavali
c70bfc25d3 +sectioning and an autoload for ob-tangle 2020-08-14 23:39:16 +01:00
Aryadev Chavali
e47cb46fbf ~constant names 2020-08-14 23:39:16 +01:00
Aryadev Chavali
e6ebbebdd9 ~Function key keybinds replaced with super + function keys 2020-08-14 23:37:07 +01:00
Aryadev Chavali
cebc0e0018 +local copy of profiler-dotemacs
I doubt there are many changes to this document, it works well and
it's always great to have a local copy.
2020-08-14 23:36:31 +01:00
Aryadev Chavali
0cb72b3793 ~put straight into init.el 2020-08-11 20:10:23 +01:00
Aryadev Chavali
8325ed164e +web mode variables
Set offset to 2 for css and markup
2020-08-10 12:40:02 +01:00
Aryadev Chavali
ef49013131 +clang format description 2020-08-10 12:39:53 +01:00
Aryadev Chavali
810debf13a ~further extend the c/c++ config description 2020-08-10 12:38:44 +01:00
Aryadev Chavali
0d2e189dbc ~slightly better description for activate-tabs 2020-08-10 12:37:20 +01:00
Aryadev Chavali
3123d1a362 +a few new things to eldoc
-Better description

-changing position of eldoc box

-make evil-force-normal-state also quit the eldoc-box frame through advice
2020-08-10 12:34:46 +01:00
Aryadev Chavali
3622f260e4 +emacs lisp and C to org-babel-load-languages
Helps with source blocks
2020-08-10 12:33:59 +01:00
Aryadev Chavali
ea21a47ec0 ~clean up flyspell issues 2020-08-10 12:33:52 +01:00
Aryadev Chavali
c867e155f9 ~properly configured hooks for org-msg 2020-08-10 12:33:39 +01:00
Aryadev Chavali
a574444705 +support for multiple functions in evil-mc 2020-08-10 12:32:27 +01:00
Aryadev Chavali
83122c1c12 ~moved xwidget 2020-08-10 12:32:22 +01:00
Aryadev Chavali
95f2961440 +prompt for buffer on window split advice 2020-08-10 12:31:57 +01:00
Aryadev Chavali
7bfcdf013c ~cf -> cF for dired at ~/Code/ 2020-08-10 12:31:17 +01:00
Aryadev Chavali
94688ca030 +header-arg to tangle to config.el
Make sure this always tangles to config.el
2020-08-10 12:29:14 +01:00
Aryadev Chavali
7f5b06c08b ~clean up custom variables in init.el 2020-08-10 12:29:09 +01:00
Aryadev Chavali
739636d0a9 ~clean up init.el literate code 2020-08-10 12:27:49 +01:00
Aryadev Chavali
ecade8210c +org-block greys to Emacs 2020-08-09 23:52:04 +01:00
Aryadev Chavali
cb95ca2ac3 -figlet call in zprofile 2020-08-09 20:25:06 +01:00
Aryadev Chavali
ab1490b5ed ~hyper -> super, caps -> escape
Remove the hyper key bindings, setting them purely to super.
After running pure Emacs with no leader bindings, I've found the use
of Ctrl+g/Escape really painful (as well as the use of Ctrl for
everything). I want to free the caps key (which was hyper) for use as escape.
2020-08-09 20:24:58 +01:00
Aryadev Chavali
e5896004c6 ~mail now stored in $HOME/.local/share/mail (xdg compliance) 2020-08-09 20:23:07 +01:00
Aryadev Chavali
9f3bd324b9 +when emacs in server mode, load stuff greedily
When emacs is launched standalone, it makes sense to optimise towards
smaller load times through lazy loading. However, when Emacs is in
server or daemon there's no point holding back. Just load everything
most of the necessary stuff such that on first emacsclient launch we
have everything available for use.
2020-08-09 20:21:23 +01:00
Aryadev Chavali
b21fc53e29 ~move ob-tangle to compile-config function
Only when we're compiling do we need access to the tangle functionalities.
2020-08-09 17:35:59 +01:00
Aryadev Chavali
b309ef154d +better literate config
This is a smarter Emacs literate config. The way it works is simple:

- If no config output files exist, compile them. Otherwise just load
the config

- Add a hook when exiting emacs such that the config is compiled and
ready for next call.

This makes it so that load time is fast and compile occurs at a more
opportune time than at init.
2020-08-09 17:32:09 +01:00
Aryadev Chavali
8a0bf92555 +eshell alias file 2020-08-09 17:31:48 +01:00