Commit Graph

1722 Commits

Author SHA1 Message Date
Aryadev Chavali
3cb1a2b616 (Emacs/config)~org-capture template for bookmarks
Now we get completion (using the clipboard by default) for a URL,
which is set as a property for the bookmark.  It also gets a timestamp
and we can fill in other text.  This is a modification due to the
changes in org-bookmark.
2024-06-11 17:24:51 +01:00
Aryadev Chavali
c64708aaaa (Emacs/elisp)~massively reworked bookmarking system
Now it can:
- cache results until bookmarks file is modified, so we don't need to
open the file again if we've already figured everything out.  This is
in-memory and not as a file

- a proper dispatching list which has pairs of form (PATTERNS . FUNC)
so the dispatching system is a bit more abstract and easier to add to

- use a URL property in org headings to get the bookmark URL rather
than having it as part of the body of the entry.  This means the body
is now free to house any content without affecting the overall
function of the system, such as notes or subtrees for related
bookmarks.
2024-06-11 16:56:52 +01:00
Aryadev Chavali
b97dbca3ce (Emacs/config|straight)Some updates 2024-06-11 04:24:56 +01:00
Aryadev Chavali
172be6aa78 (Emacs/config)~Reworked introduction 2024-06-11 04:24:21 +01:00
Aryadev Chavali
ba4d0cabf5 (Emacs/config)~change some symbols for common lisp 2024-06-11 02:43:29 +01:00
Aryadev Chavali
e4d240e202 (Emacs/config)-:pretty sections for eshell,java,c#,c/c++
Honestly not that useful for eshell (made it annoying to read text),
whereas in c/c++ it made looking at certain formatted code really
annoying.

Java and C# aren't used anyway.

In most cases, when reading code in a non terse language like C/C++,
C# or Java I'd rather just /see/ the code.  In something like Lisp or
Python the symbols just make it that much easier to read code.
2024-06-11 02:33:25 +01:00
Aryadev Chavali
51cd0ee896 (Emacs/config)~small changes, mostly explanations and optimisations 2024-06-11 02:31:20 +01:00
Aryadev Chavali
ef028dfd4b (Emacs/config)~Make basics one single source block and explanation 2024-06-11 02:27:08 +01:00
Aryadev Chavali
3765aafeef (*)~Some cleanup 2024-06-11 01:24:10 +01:00
Aryadev Chavali
642e7c95c1 (Scripts)~mail_fetch:refresh notmuch before counting 2024-06-11 01:23:36 +01:00
Aryadev Chavali
f5ea98f474 (Scripts)~better eselect 2024-06-11 01:23:24 +01:00
Aryadev Chavali
c509e33586 (Scripts)~do_backup now has backups characterised by year 2024-06-11 01:23:03 +01:00
Aryadev Chavali
3de452b775 (Emacs/elisp)+Website directory to search elisp 2024-06-11 01:22:38 +01:00
Aryadev Chavali
efae109a68 (Emacs/early-init.el)~Change alpha values 2024-06-11 01:22:27 +01:00
Aryadev Chavali
810ea252ed (Emacs/eshell)~new aliases 2024-06-11 01:22:10 +01:00
Aryadev Chavali
830f288423 (Emacs/elisp)~personal primary no longer has differing fonts
Now we just use Hack
2024-06-11 01:21:05 +01:00
Aryadev Chavali
b138739a63 (Emacs)~Clean buffer list code 2024-06-10 02:32:33 +01:00
Aryadev Chavali
a882d15a3f Merge remote-tracking branch 'origin/master' 2024-05-31 20:54:47 +05:30
Aryadev Chavali
47655b7f03 (Emacs/elisp)~current work in org bookmark 2024-05-31 20:53:59 +05:30
Aryadev Chavali
d2e7060f89 (Scripts|SystemD)~lower size of scripts 2024-05-31 20:52:53 +05:30
Aryadev Chavali
9ef78de263 (Emacs)~loads of changes to config 2024-05-31 20:52:38 +05:30
Aryadev Chavali
7182d22050 (Emacs)~changed snippets 2024-05-31 20:50:49 +05:30
Aryadev Chavali
0bd2bcb172 (Scripts)+repo_find and rgrep 2024-05-31 16:04:30 +01:00
Aryadev Chavali
0c6adbaabc (XServer)~clean up configuration a bit 2024-05-31 16:03:35 +01:00
Aryadev Chavali
17348abe78 Merge remote-tracking branch 'origin/master'
For desktop
2024-05-31 16:02:21 +01:00
Aryadev Chavali
550eb59ea5 (NeoVim)~absolute -> relative line numbers 2024-05-13 18:41:59 +05:30
Aryadev Chavali
cfe9d354aa (Emacs/whitespace)-lines-tail from whitespace-style 2024-05-13 18:41:53 +05:30
Aryadev Chavali
e7321c7de6 (Emacs/org-capture)~set bookmark capture template to not make TODO 2024-05-13 18:41:06 +05:30
Aryadev Chavali
18f7d6b9da (Emacs/config)+scrolling functionality 2024-05-13 18:40:45 +05:30
Aryadev Chavali
fdef946d65 (Emacs/custom)~clean up some old customisations 2024-05-13 17:36:40 +05:30
Aryadev Chavali
ee8e0834c0 Cleaned heading 2024-05-13 17:34:57 +05:30
Aryadev Chavali
97ac65872a General commits
Cannot be bothered to add message
2024-05-13 17:33:16 +05:30
Aryadev Chavali
ab2742cd3e (Emacs/elisp|config)+org-bookmark manager
Opens bookmarks from ~/Text/bookmarks.org with a dispatcher.
2024-05-13 17:32:38 +05:30
Aryadev Chavali
ce660d9a2a (Emacs/config)~Fix urls 2024-05-13 17:15:37 +05:30
Aryadev Chavali
6e2696e47e (Scripts)~if no emacs server then use just general emacs 2024-05-13 17:03:40 +05:30
Aryadev Chavali
ef5ac4371a (Emacs/elisp)~updated themes a bit 2024-05-13 17:03:27 +05:30
Aryadev Chavali
955f2a223c (Emacs/config|init)~cut my init time to just a second
I had a problem with after-init-hook which would (while supposedly
keeping (emacs-init-time) under 1.2 seconds) take ages to start emacs
just due to how many things were starting up using it.  So I removed
all the after-init-hook functions and instead aggressively demand the
stuff I need and defer everything else through ":defer", ":after",
":hook" and ":general".

Happy to say my boot time is now actually 1.2 seconds without
compilation.
2024-05-13 17:02:56 +05:30
Aryadev Chavali
8fcdfac661 (Emacs)~Merged app.org, lang.org and core.org back into config.org
Just makes it easier to profile and deal with compilation
2024-05-13 17:01:03 +05:30
Aryadev Chavali
5fee49b69d (Emacs/elisp)+search.el
I can now completing-read search git files from a ton of repositories
AND grep them.
2024-05-12 21:12:32 +05:30
Aryadev Chavali
eacfab80dd (Emacs/config)+Custom function to generate tags from project root 2024-05-11 13:45:20 +05:30
Aryadev Chavali
5567f2647d (Emacs/core)~tabs now use r as a prefix key 2024-05-11 13:06:29 +05:30
Aryadev Chavali
ebf18a5209 (Emacs/app)+eww bookmark functionality
Search and edit bookmarks very quickly.
2024-05-11 13:06:08 +05:30
Aryadev Chavali
6aa3c170e9 (Emacs/*)~clean up text, change license of elisp packages to GPLv2 strictly 2024-05-11 13:05:41 +05:30
Aryadev Chavali
40240bbfd7 (Emacs/app)~changed project-root function and added aliases
project-root now uses project.el.  aliases for goto and project-root.
2024-05-11 13:04:45 +05:30
Aryadev Chavali
88ae6fc2e8 (Emacs/config)~Re-positioned xref and projectile 2024-05-11 13:04:07 +05:30
Aryadev Chavali
48b1410889 (Emacs/yasnippet)~cleaned up a TON of snippets 2024-05-11 13:02:20 +05:30
Aryadev Chavali
750722d463 (Emacs/yasnippet)~C++ snippets have been pruned and edited 2024-05-11 12:44:48 +05:30
Aryadev Chavali
41e85002dc (Emacs)-Emacs Lisp snippets
Don't use ANY of them anyway.
2024-05-10 01:58:07 +05:30
Aryadev Chavali
d44273c668 (Emacs/yasnippet)+new snippet for macros in C/C++ 2024-05-10 01:05:54 +05:30
Aryadev Chavali
31329c3dab (Emacs/app)~+eshell/current-buffer command now uses <leader>T 2024-05-10 01:05:35 +05:30