Commit Graph

1117 Commits

Author SHA1 Message Date
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
Aryadev Chavali
7d1d8d6e78 +abstract + toc snippet for emacs 2020-08-09 17:30:49 +01:00
Aryadev Chavali
97b662cf7f +full name and email-address to emacs 2020-08-09 17:30:13 +01:00
Aryadev Chavali
909c970bd1 +custom contents pages in latex
Turn off table of contents and display it on the next page.
2020-08-09 17:29:46 +01:00
Aryadev Chavali
c97f16044f +description to emacs lisp section 2020-08-09 17:29:22 +01:00
Aryadev Chavali
39561add04 +load user directory for yasnippet 2020-08-09 17:29:05 +01:00
Aryadev Chavali
fa8efabe17 ~cleanup whitespace in config.org 2020-08-09 17:28:55 +01:00
Aryadev Chavali
fe1378bc29 +html/css/js configuration for Emacs
Use web mode for as much stuff as possible, also setup emmet for ease
of use in html
2020-08-09 17:27:37 +01:00
Aryadev Chavali
2caa53a5a2 +binding to whitespace-cleanup 2020-08-09 17:27:00 +01:00
Aryadev Chavali
e3af6cecd7 +hook to text-mode for smartparens 2020-08-09 17:24:19 +01:00
Aryadev Chavali
2fd2149b59 +delete a sentence in auto fill
Basically adds the functionality necessary to delete sentences in auto
fill mode, where it may not be possible with simple vim motions and
where Emacs functions kill the paragraph.
2020-08-09 17:23:15 +01:00
Aryadev Chavali
6b289457fb ~moved auto fill mode hook 2020-08-09 17:23:02 +01:00
Aryadev Chavali
b7129e5441 ~moved flyspell 2020-08-09 17:22:33 +01:00
Aryadev Chavali
1cca162c8a ~moved window management 2020-08-09 17:20:21 +01:00
Aryadev Chavali
e8714babeb +eshell config with binding 2020-08-09 17:18:27 +01:00
Aryadev Chavali
248458a7b8 ~org mode -> org 2020-08-09 17:18:15 +01:00
Aryadev Chavali
96f1e8d7bb ~moved flyspell to major modes and programming section
Doesn't make sense to limit it just to Org mode, so add hooks for text mode.
2020-08-09 15:42:54 +01:00
Aryadev Chavali
56625a6cf8 +description for org superstar 2020-08-09 15:42:13 +01:00
Aryadev Chavali
7a4823d575 +org pretty tables
Some eyecandy via unicode symbols to make org tables just look nicer
2020-08-09 15:41:58 +01:00
Aryadev Chavali
d6b21a3470 -org-entities-user setting
No need, as I'll just insert integrals and stuff like that when I want to.
2020-08-09 15:41:01 +01:00
Aryadev Chavali
0cda762c00 +more settings for org mode latex minted options 2020-08-09 15:40:41 +01:00
Aryadev Chavali
9893672a53 +org fragtog description 2020-08-09 15:40:30 +01:00
Aryadev Chavali
dc69be7dfc +org-msg package
org-msg integrates org mode into mail, allowing you to send html
mail.
2020-08-09 15:40:07 +01:00
Aryadev Chavali
4526e2d155 +bind to notmuch: run sync-mail at hello buffer 2020-08-09 14:35:26 +01:00
Aryadev Chavali
51be07b3c1 +xwidget configuration
Bindings mostly, with a nice long description.
2020-08-09 14:35:04 +01:00
Aryadev Chavali
20788fa75e +bindings for text-scale-(decrease|increase) 2020-08-09 14:19:27 +01:00
Aryadev Chavali
68af314907 -generate tags function
Projectile-regen...-tags works now.
2020-08-09 14:19:10 +01:00
Aryadev Chavali
229647da08 ~long lines -> auto-fill-mode
In my config.org, and from now on in all text documents, auto fill
mode will be employed. I've added a text-mode-hook for auto-fill-mode.

I've found difficulty in handling long lines through truncate lines,
which doesn't have full control over movement in lines that run over
the terminal width. I've had to use '$' or move-end-of-line to move to
a point which visually should just require next-line to move to.

This inconsistency between visuals and movement is very frustrating
and abrupt when it occurs. Though auto fill mode has its own issues
(sets all text to 80 characters, which can be annoying in terms of
version control) it is far better than any other solution that I can
find.
2020-08-09 14:18:39 +01:00
Aryadev Chavali
1f4e7245c9 +display buffer configuration: async shell command, org export 2020-08-07 14:06:24 +01:00
Aryadev Chavali
86529cbfad +general bindings for eglot functions 2020-08-07 14:05:31 +01:00
Aryadev Chavali
38b64b3c5f +minted latex export org variables
Setup for =minted= package which allows for source code blocks with styling.
2020-08-07 14:04:43 +01:00
Aryadev Chavali
ac34608bf7 ~set buffer hydra movements to l and h rather than j and k 2020-08-07 14:03:38 +01:00
Aryadev Chavali
270fa016fe +yatemplate
Allows for file templates with yasnippet
2020-08-07 14:03:17 +01:00
Aryadev Chavali
f77395de50 +bindings to leader for variety of packages
Application launches using infix a
Search at s
Projectile at p
2020-08-07 14:00:16 +01:00
Aryadev Chavali
c1f2c967dd ~switch from ctrl based chords to meta
I hit meta with my thumb whereas control is hit by the pinky. Emacs
pinky is a real issue, and I got little tremors of it recently (which
lead to me moving to leader-SPC based bindings). Any bindings to ctrl
should be replaced to meta based ones.
2020-08-07 13:45:31 +01:00
Aryadev Chavali
e199f7467a +bindings for window movement in Leader 2020-08-07 13:45:00 +01:00
Aryadev Chavali
bdb71bba40 +bindings for async-shell-command and folder navigation 2020-08-07 13:44:44 +01:00
Aryadev Chavali
28da4f0634 +a lot of changes
Firstly, some org stuff to make everything flat (no indents).

Secondly, a lot of new packages including general.

Using general to manage all binds now.

Reorganised code quite a bit
2020-08-06 15:16:02 +01:00
Aryadev Chavali
373518c3b1 +window management setup
This is a set of display-buffer records to make window management
easier in Emacs.
2020-08-01 18:29:01 +01:00
Aryadev Chavali
6d127dc619 +imenu binding to leader 2020-08-01 18:28:35 +01:00
Aryadev Chavali
15d23273b8 +inhibit-startup-screen 2020-08-01 18:27:57 +01:00
Aryadev Chavali
08a558ac1d +rg.el package to substitute for counsel-rg
rg.el > counsel-rg

Furthermore, rg.el is agnostic of counsel-rg.
2020-08-01 18:26:26 +01:00
Aryadev Chavali
f745c2e0f2 ~set org-src-window-setup to current window
Open org src blocks in the same window for ease of use and no
reorganisation of windows
2020-08-01 18:25:54 +01:00
Aryadev Chavali
b75a1170d6 ~made eglot-format a two control chord 2020-08-01 18:25:18 +01:00
Aryadev Chavali
36124e9861 ~minimised C/C++ configuration to use-package cc-mode
use-package allows for lazy loading C features, which means load time
is slightly smaller.
2020-08-01 18:24:16 +01:00