Commit Graph

834 Commits

Author SHA1 Message Date
Aryadev Chavali
eb5b11e71b (Emacs/snippet)~rename a few C++ snippets 2024-04-24 04:08:12 +05:30
Aryadev Chavali
ff1dab3f6b (Emacs/snippets)~Modified some C++ snippets to be easier to use 2024-04-24 04:06:56 +05:30
Aryadev Chavali
8ea2b51e5a (Emacs/core)+binding <leader>fp to use counsel-git in defiles folder
Lookup all files in the repository.  Best solution I could come up
with.
2024-04-24 04:06:52 +05:30
Aryadev Chavali
37351ad299 (Emacs/config)~rearrange org-mode configuration 2024-04-24 04:06:52 +05:30
Aryadev Chavali
1de12e582b (Emacs/config)+method of searching +literate/el-files
Uses grep by default.  Also made a method of searching a discrete
list of files using grep.
2024-04-24 04:04:14 +05:30
Aryadev Chavali
c135997363 (Emacs/config)+fix error with wgrep
Need to set initial state to Normal instead of motion and bind stuff
properly for it to work.
2024-04-24 04:02:54 +05:30
Aryadev Chavali
90c0766992 (Emacs/core|config)~do a bit of clean up 2024-04-24 04:02:38 +05:30
Aryadev Chavali
5c47cacdbd (Emacs/lang)-clang-format-mode on cc-mode-hook
I can configure projects to use it if necessary.
2024-04-24 04:01:33 +05:30
Aryadev Chavali
711dcf5e2d (Emacs/literate)~reworked literate to only compile if necessary
Speeds up boot and kill.

Actually checks for timestamps and logical errors are removed.
2024-04-24 04:01:26 +05:30
Aryadev Chavali
aedab997d3 (Emacs/app)+mpv package
Only really useful for integration in org-mode
2024-04-24 03:42:11 +05:30
Aryadev Chavali
617b849be1 (Emacs/app)+some defer statements to make bootup quicker
Cuts a second off the time to bootup.
2024-04-24 03:41:32 +05:30
Aryadev Chavali
a01cba5589 (Emacs/*)~stop using create-toggle-function 2024-04-23 18:44:26 +05:30
Aryadev Chavali
08519319b2 (Emacs/early-init)~alpha: 85 -> 85 for focused and 65 for unfocused 2024-04-23 17:05:08 +05:30
Aryadev Chavali
1039114d2f (Emacs/core)+nmmap binding K to man
By default evil-lookup-func is woman, which throws annoying warnings
and isn't a complete manpage reader.  So here I rebind it to use man,
which is fully functioning.
2024-04-23 17:05:08 +05:30
Aryadev Chavali
f10436c0b7 (Emacs/config)+eshell to oreo/keep-buffers
So my eshell instance doesn't die just cos I'm cleaning up.
2024-04-23 17:05:08 +05:30
Aryadev Chavali
c3ecf07798 (Emacs/app)+wdired binding 2024-04-23 17:05:08 +05:30
Aryadev Chavali
92310685d1 (Emacs/app)-magit-file-dispatch (<leader>vf) and magit-blame (<leader>vb) 2024-04-23 17:05:08 +05:30
Aryadev Chavali
2baf2fca03 (Emacs/app|lang)~pdf-tools is disabled, dired-guess-shell pdf zathura
I find pdf-tools really slow in comparison to zathura, with very
little benefit to it being integrated into Emacs.  Zathura is faster,
leaner and more fit for purpose.

PDFs, if a shell command may be invoked on them in dired, now show
zathura as a default argument.
2024-04-23 17:03:59 +05:30
Aryadev Chavali
253f2f5ef9 (Emacs/app)+randomise banner-message's cowsay 2024-04-23 01:47:17 +05:30
Aryadev Chavali
6782fce889 (Emacs/app)~move eshell/goto to subheading 2024-04-23 01:46:57 +05:30
Aryadev Chavali
f5efdb6faf (Emacs/lang)~disable "Hydra like lispy" 2024-04-23 01:41:42 +05:30
Aryadev Chavali
74186f287f (Emacs/lang)+emacs-lisp-mode-hook prettify-symbols 2024-04-23 01:41:31 +05:30
Aryadev Chavali
50a3add875 (Emacs/core)+some more bindings 2024-04-23 01:41:19 +05:30
Aryadev Chavali
a35eeb19b9 (Emacs/config|core)~<SPC-fp>: go to config.org -> search org heading 2024-04-23 01:40:27 +05:30
Aryadev Chavali
5aec6298cf (Emacs/config|core)+move-line-{up|down} 2024-04-23 01:40:07 +05:30
Aryadev Chavali
a6fe9aaf6e (Emacs/local)+game scores 2024-04-20 02:52:41 +05:30
Aryadev Chavali
c76475e427 (Emacs/*)~cleaning up 2024-04-20 02:52:27 +05:30
Aryadev Chavali
fe2fd08cfb (Emacs/config)+argument to restrict search-headings to only first level 2024-04-18 15:41:23 +06:30
Aryadev Chavali
198f8d57d8 (Emacs/elisp/license)~Behavior when licence-choice is NIL
Instead of defaulting to the Unlicense, we now completely copyright
the material.  This is the default behavior when a LICENSE is not
attached to a project in open source: copyright is completely
preserved.
2024-04-18 15:23:54 +06:30
Aryadev Chavali
65c7cd0138 (Emacs/lang)+WIP section on Lisp and a hydra for it 2024-04-18 15:23:38 +06:30
Aryadev Chavali
2b0397b3bc (Emacs/*)~WIP -> WAIT for subtrees that aren't used 2024-04-18 15:21:27 +06:30
Aryadev Chavali
03a2fc0541 (Emacs/lang)~split Lisp section into Emacs lisp and Lisp indent
Not much of a difference but it does make it cleaner to look at.
2024-04-18 14:54:42 +06:30
Aryadev Chavali
f60c3b5bad (Emacs/core)+package hydra and use-package-hydra
Defines persistent sub-key-maps which can provide some really nice
behavior.
2024-04-18 14:54:15 +06:30
Aryadev Chavali
592433f91e (Emacs/lang)~NHexl now works on .out files as well 2024-04-18 14:53:07 +06:30
Aryadev Chavali
381199ea85 (Emacs/lang)~Disabled SQL, Racket and Haskell
This is obviously just temporary until I find uses for them again.  Of
course, if I do want to use them I can just call the emacs-lisp block
to pull the repository and install it.
2024-04-18 14:52:04 +06:30
Aryadev Chavali
40dab72e6c (Emacs|^)~Some general cleanup 2024-04-18 14:51:52 +06:30
Aryadev Chavali
4be897e922 (Emacs/elisp)~Clean up haskell-multiedit top 2024-04-16 22:57:20 +06:30
Aryadev Chavali
cdc3f11a81 (Emacs/config) Languages section -> lang.org
Almost 700 lines of content, might as well move it.
2024-04-16 22:57:20 +06:30
Aryadev Chavali
c3518cb39c (Emacs/config|app)~disabled a few unused packages 2024-04-16 22:28:43 +06:30
Aryadev Chavali
61ab6e7b7d (Emacs/straight)~updated default.el 2024-04-16 22:10:04 +06:30
Aryadev Chavali
f735120b97 (Emacs/config)~Makefile auto insert now generates dependencies
Using -M* options in gcc and clang we can generate dependencies for C
files which can be used by make to rebuild files based on other files.
2024-04-16 22:03:52 +06:30
Aryadev Chavali
98626cf2a8 (Emacs/config)+wgrep binding to grep-mode-map 2024-04-16 22:00:16 +06:30
Aryadev Chavali
55862a5216 (Emacs/app)+eshell command that goes to projectile-project-root if it exists 2024-04-16 21:59:29 +06:30
Aryadev Chavali
e07c2c1457 (Emacs/app)~Made eshell prompt a bit cooler
Now it shows if the worktree is unclean and how many commits ahead or
behind we are from the remote (if one is set).
2024-04-16 21:59:20 +06:30
Aryadev Chavali
d656f499c6 (Emacs/core)+evil-numbers packages
Increment/decrement number at point.  Something from vim which is
quite nice.
2024-04-14 14:35:39 +06:30
Aryadev Chavali
b31efd7b2c (Emacs/config)~g is not bound in compilation-mode-map
This means I can use, say, ~gg~ to go to the top of the buffer without
recompiling.
2024-04-14 14:34:56 +06:30
Aryadev Chavali
da9a14331f (Emacs/app)+ERC (irc client for Emacs) 2024-04-12 18:21:12 +06:30
Aryadev Chavali
37f5bf4b98 (Emacs/config)+some bindings
Recompile is now c instead of g
2024-04-12 18:20:57 +06:30
Aryadev Chavali
31155589e5 (Emacs/init)~updated straight.el in bootstrap
The URL for bootstrap.el has changed as a result of straight now being
under a group rather than a user.  Just means I need to change it
here.  While doing so, I update the bootstrap version as well.
2024-04-09 14:35:02 +06:30
Aryadev Chavali
046e0b9f01 Disable clang-format-mode for C/C++
Should be enabled project wide if wanted.  Quite annoying when not
needed.
2023-11-01 15:26:30 +00:00