Commit Graph

114 Commits

Author SHA1 Message Date
Aryadev Chavali
469d076b99 ~moved around a few things 2020-08-16 13:02:54 +01:00
Aryadev Chavali
2dd6fbd669 +org-todo-keywords
TODO -> WAIT -> DONE

PROJ -> WAIT -> COMPLETE
2020-08-15 11:20:06 +01:00
Aryadev Chavali
c8d0e80cb5 ~flyspell bindings switch caps 2020-08-15 11:19:58 +01:00
Aryadev Chavali
cf6f530506 ~display-buffer-in-side-window -> display-buffer-at-bottom
This works out better as it stacks the windows on top of each other
rather than squishing them in the bottom pane. Furthermore, which key
looks nicer with this.
2020-08-15 11:19:16 +01:00
Aryadev Chavali
ac3618ab5b ~eshell: cleanup description, +toggle-eshell
Using the toggle functionality I defined earlier, create a toggle
eshell setup
2020-08-15 11:15:32 +01:00
Aryadev Chavali
6562733a11 ~change binding in elfeed 2020-08-15 00:07:51 +01:00
Aryadev Chavali
8b5145e44f -yatemplate
Just use auto insert
2020-08-15 00:07:39 +01:00
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
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
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