Commit Graph

790 Commits

Author SHA1 Message Date
Aryadev Chavali
166d158143 (Emacs)~major refactor to bindings
Instead of using leader for everything, with infixes, I create custom
definers for each prefix root.  This is along with better which key
strings and makes the code easier to read: instead of setting up
several bindings across all namespaces I must define each binding in
its respective leader.
2023-03-26 20:06:02 +01:00
Aryadev Chavali
ec7f1fd586 (Emacs)~fixing some documentation
Cleaner text and more dividing particularly in the previous sections.
2023-03-26 20:06:02 +01:00
Aryadev Chavali
dd71577a7f (Emacs)+aggressive indent, ~moved around compilation 2023-03-26 19:44:03 +01:00
Aryadev Chavali
9bc1f8a276 (Emacs)~fixed wrong variable error in +oreo/create-toggle-function 2023-03-26 19:42:57 +01:00
Aryadev Chavali
8637222e5f (Emacs)~lots of changes to config
+ save place
+ global auto revert
- +pretty/* functions
+ esup
+ some randomised messages for dashboard footer
+ some eshell functionality
~ disabled ada mode
+ tons of bindings for org tables
2023-03-19 17:58:52 +00:00
Aryadev Chavali
b0523a50c7 (*)~lots of small changes
~ changed emacs theme background for isearch

~ updated default.el

~ changed vim theme
2023-03-19 17:55:34 +00:00
Aryadev Chavali
a1f8cc34aa (Emacs)+better comments with copyright 2022-12-01 08:01:55 +00:00
Aryadev Chavali
7629789b92 (*)~few changes, not massive 2022-11-24 00:39:55 +00:00
Aryadev Chavali
2d51311461 (Emacs)~change pdf-tools recipe 2022-10-11 10:31:37 +01:00
Aryadev Chavali
289c9a2385 (Emacs)+some more theming for personal-primary 2022-10-11 10:29:23 +01:00
Aryadev Chavali
04b861e430 (Emacs)~changed a lot of stuff
+org-ref
+xref config
~descriptions
2022-10-11 10:28:50 +01:00
Aryadev Chavali
f3c26def38 (Emacs)+dired bind for dired-create-empty-file 2022-09-17 16:56:39 +01:00
Aryadev Chavali
078078dc2b (Emacs)+org template for blog posts, ~rearranged org mode 2022-09-17 16:56:21 +01:00
Aryadev Chavali
c2340be4eb (Emacs)+org-startup-folded set to 'content
Now I don't get flooded by information when I open an org file, just
headings.
2022-09-17 00:16:23 +01:00
Aryadev Chavali
9282261547 (Emacs)~major change to +oreo/create-toggle-function
Now allows numeric arguments to be passed to the buffer creation
function.  This is especially useful for ~eshell~ which allows
creation of multiple instances using a numeric argument: very useful
for managing multiple buffers.  It's an optional argument but I err on
the side of caution so by default I'll set it to nil if I don't want
this feature.
2022-09-17 00:13:34 +01:00
Aryadev Chavali
62684402dd (Emacs)+ivy-occur display record 2022-09-17 00:12:09 +01:00
Aryadev Chavali
5bd2f3dbd5 (Emacs)~bindings for org-mode, cc-mode, flycheck
+ bindings for flycheck-(next|prev)-error
~ bindings for org mode (now has prefix "l" for links)
~ c(++?)-mode's binding for c-(beg|end)-of-statement now set just for
  c(++?)-mode
2022-09-17 00:09:30 +01:00
Aryadev Chavali
322fdeeb44 (Emacs)~cleaning up descriptions/errors
~ Links were misaligned
~ Descriptions
~ Titles
~ :display blocks
- environment section as systemd gets path variables in .zprofile
2022-09-17 00:07:49 +01:00
Aryadev Chavali
3b5ea1834d (Emacs)~eshell gets some love
I really like Eshell.  Fanboy a bit about it in my configuration, and
describe its true abilities.  Further split up the config so it's a
bit easier to read.
2022-09-16 22:34:06 +01:00
Aryadev Chavali
6c99a8a1d2 (Emacs)~config.org: "+dx/"->"+oreo/"
Change namespace for my configurations custom functions, better
representation.
2022-09-16 22:34:06 +01:00
Aryadev Chavali
ad023c348b (Emacs)~+dired/omit-dot-files: dired-omit-mode set after +dired/omit-mode
Flip ~+dired/omit-mode~'s value before toggling dired-omit-mode.
2022-09-16 15:34:16 +01:00
Aryadev Chavali
09fc2fa011 (Emacs)~balance braces in custom.el
I was stupid and pushed an improper version of custom.el
2022-09-16 15:33:44 +01:00
Aryadev Chavali
5dff5a59ed (Emacs)~I don't know how to spell 2022-09-14 00:54:19 +01:00
Aryadev Chavali
2f51cf2b3d (Emacs)-custom.el
Preferably don't use this?  Just configure in config.org or init.el,
can be documented better there.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
a68e59b1b5 (Emacs)+recursive powers of 1024 to set gc-threshold
Nice function, deterministic, uses a minimal amount of time to compute.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
61f06ef0c8 (Emacs)~init.el literate functions
To remove the ~(require 'cl)~ dependency, I wrote my own reduce for
boolean values, recursive, which should do the trick.  Mostly just to
remove the annoying "haha no cl library anymore".
2022-09-14 00:47:16 +01:00
Aryadev Chavali
4767422b39 (Emacs)+auto-save for C/C++ to clang-format buffer
Nicer to do this and have a formatted file to commit on git than
commit a non-formatted file and realise after a push.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
6bb587d877 (Emacs)+common lisp configuration
Using sly, make a LISP IDE in Emacs.  REPL with high level
integration, first class syntax highlighting and error reporting and
an environment literally built out of it.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
0f00c351aa (Emacs)+org-link-frame-setup
Always open a new frame when opening link in org-mode: predictable,
safe behaviour which leaves it up to my window manager as to what to
do next.  Most of my opened links are files that I want to examine
along with the org file I opened them from: this allows me to do
exactly that.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
f89ebf476e (Emacs)~minor changes 2022-09-14 00:47:16 +01:00
Aryadev Chavali
3550b34cc0 (Emacs)+eshell extra functionality to eshell
+ Nicer prompt which shows git information on the fly.
+ Cute figlet banner for start of eshell

Pretty nifty!
2022-09-14 00:47:16 +01:00
Aryadev Chavali
81d25daf61 (Emacs)+early-init native-compilation options
Set to 4 workers at the start to make compilation at least as fast as
possible: my laptop has 4 cores so it'll just slow it down until early
compilation is done, while my desktop can still keep going as it has 8
threads.  In config.org this is setup correctly so the rest of the
config (which is the much larger part) uses a system dependent number
of cores.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
df8c384630 (Emacs)~colours of mode-line
In particular they now have *blue foregrounds with a dull blue for
inactive buffers.
2022-09-14 00:47:16 +01:00
Aryadev Chavali
526ff65320 (Emacs)~update pdf-tools free version 2022-09-14 00:47:16 +01:00
Aryadev Chavali
63dbce1357 (Emacs)~whitespace now shows spaces
Might be kinda useless but I think it actually makes it a bit easier
to distinguish what's written in a file.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
88cf843586 (Emacs)~changes to dired configuration
In order of complexity:

- set (leader "dd") to ~dired~ rather than ~dired-jump~, because I
  think it's better to have an option to choose directory

- +dired/maybe-frame -> dired-other-frame (just use another frame always)

- dired-omit-mode config:
  - When ~dired-hide-details-mode~ is on, hide all dot(files/directories)
  - When ~dired-hide-details-mode~ is off, show all files (turn off ~dired-omit-mode~)
  - This is achieved by hooking ~+dired/omit-files~ (which does the
    above) to ~dired-hide-details-mode-hook~
2022-09-14 00:45:42 +01:00
Aryadev Chavali
2d6e13bbbc (Emacs)+all-the-icons
Allows for insertion of emojis, though ~counsel-unicode-char~ allows
you to do that too 🤔
2022-09-14 00:45:42 +01:00
Aryadev Chavali
9c48f081ee (Emacs)~rg binding "sr"->"sR"
I use counsel-rg usually as it provides instant results.  At the point
where I'll need a compilation-like buffer of results I'll just use one
of the *grep functions, which work regardless of ripgrep being
installed (essentially just learn one tool, well, rather than multiple
tools, badly.)
2022-09-14 00:45:42 +01:00
Aryadev Chavali
49d8773043 (Emacs)~display-line-numbers-type absolute->relative
Relative numbers are cooler, easier to see what your program is
reading in a file using relative numbers.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
986e0084cd (Emacs)+feature to +olivetti-mode
Now disables mode line for extra *immersion*
2022-09-14 00:45:42 +01:00
Aryadev Chavali
b2898fb7d6 (Emacs)+object based compilation for Makefile auto insert
Faster overall, incremental compilation.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
0217fee467 (Emacs)+compile keybindings
next-error, previous-error and recompile to make compilation easier: I
can now traverse through errors and retry compiling without having to
leave code buffers!
2022-09-14 00:45:42 +01:00
Aryadev Chavali
072fbf5760 (Emacs)~= -> ~ code tag 2022-09-14 00:45:42 +01:00
Aryadev Chavali
2e2ee6e586 (Emacs)+clean buffer list functionality
Better than using ibuffer, just does it like a macro.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
4c4fbf6980 (Emacs)+dired insert all subdirectories -dired display functions
Just a nice bit of functionality, also added bindings for stuff I've
needed when using dired recently.
2022-09-14 00:45:42 +01:00
Aryadev Chavali
42e2bf3890 (Emacs)~clean up headings, descriptions and bits of code 2022-09-14 00:45:42 +01:00
Aryadev Chavali
9f0fb20343 (Emacs)+italic to ivy-current-match personal-primary-theme 2022-09-14 00:45:42 +01:00
Aryadev Chavali
9039941398 (Emacs)~org bindings org-ctrl-c->org-todo, insert strucutre template 2022-09-14 00:45:42 +01:00
Aryadev Chavali
d98dad559c (Emacs)~default size of font on oldboy 125->140
Old man eyes
2022-09-14 00:45:42 +01:00
Aryadev Chavali
c95f51f446 (Emacs)+org/swiper-goto
Better version of org-goto, use in place imenu when in org mode documents
2022-09-14 00:45:42 +01:00