Commit graph

63 commits

Author SHA1 Message Date
Payas Relekar
0a3a4a05ad doom: update eglot config for nix-ts-mode 2024-03-16 17:23:09 +05:30
Payas Relekar
64f3563239 emacs: include eglot via Nix 2024-03-16 17:22:33 +05:30
Payas Relekar
1f5e986a78 doom: remove nixfmt override
Nix formatting RFC was merged, with new style being implemented in a
separate branch of nixfmt. Since I have it installed and have already
started using it, this override to use nixpkgs-fmt can be removed.
2024-03-16 14:37:09 +05:30
Payas Relekar
67e5fd2175 doom/org: skip entries that are done/cancelled from agenda
org-agenda default behavior appears to be changed and now is including
entries for things that were cancelled ages ago.

These variables are not all necessary, but they seem like good choice to
keep the clutter out.
2024-03-16 13:17:22 +05:30
Payas Relekar
316df063a6 doom: remove eglot-x and unused eglot config 2024-03-15 22:00:58 +05:30
Payas Relekar
b5b4251194 doom: update gleam package 2024-03-14 15:27:44 +05:30
Payas Relekar
01e585722d doom: Update window title, include projectile if needed 2023-12-25 22:12:39 +05:30
Payas Relekar
76ede3edde doom: minor load finction change 2023-12-25 21:48:01 +05:30
Payas Relekar
e6c81dadd7 doom: more font updates 2023-12-25 21:46:46 +05:30
Payas Relekar
56457d0aa9 emacs: Try out some new unicode and variable pitch font 2023-12-25 21:44:01 +05:30
Payas Relekar
833106f069 doom/isearch: minor update 2023-12-25 20:52:20 +05:30
Payas Relekar
d43643fac2 doom: replace ctrlf with isearch+customizations
Making isearch interactive with transient is pretty good and by
modifying isearch I can get pretty close to what ctrlf offers already.
For heavier needs consult is already here and perfect. So, ctrlf, while
nice in providing what can be done with isearch, is no longer necessary.
2023-12-25 20:48:26 +05:30
Payas Relekar
06bcd2b6d8 doom: Spruce up Ctrlf with transient
Ctrlf already makes isearch nice with few extra goodies. With transient,
things become a lot more interactive and discoverable, boosting actual
utility of this venerable and rich tool. Hopefully with this, I'll be
able to make use of it more often

Thanks to :
http://yummymelon.com/devnull/improving-emacs-isearch-usability-with-transient.html

original source:
a4c7bacbd3/cc-isearch-menu.el
2023-12-24 21:05:10 +05:30
Payas Relekar
4ce48e7620 doom: Enable yaml module
Because ESPHome uses YAML for configuring build
2023-12-23 15:08:04 +05:30
Payas Relekar
c2adcfd7c1 doom: Add another shortcut for M-x
C-SPC SPC is more convenient on GPD micro because lack of right hand M/C
keys make these shortcuts fairly painful
2023-11-18 21:19:25 +05:30
Payas Relekar
f7c9345188 doom: Add global general-based shortcut for save buffer
C-SPC f s matches evil based doom shortcut and is more convenient on gpd micro
2023-11-18 10:09:35 +05:30
Payas Relekar
e3aa823290 doom: try to fix tmpdir creation 2023-11-18 09:58:37 +05:30
Payas Relekar
91b06019ff doom: Automate creating tmp path 2023-11-18 00:10:15 +05:30
Payas Relekar
6323f26c42 emacs: Install modus-themes via Nix
For some weird reason the theme broke. I suspect it is the latest cl-lib
removal, and Nixpkgs is probably not updated with it just yet. So, at
least it is working via Nix for now. Welcome to Emacs, cheers.
2023-11-18 00:03:34 +05:30
Payas Relekar
efa54aabd2 doom: configure apheleia 2023-11-16 10:46:35 +05:30
Payas Relekar
a1dd7c69e6 doom/org: load org-collector right after loading org 2023-11-15 23:02:36 +05:30
Payas Relekar
64b1885182 doom/hledger: remove some dubious setq 2023-11-15 22:26:06 +05:30
Payas Relekar
98a86a45e9 hledger: remove comments 2023-11-15 22:25:43 +05:30
Payas Relekar
4d43712966 doom: Fix hledger-capture autoload 2023-11-15 22:23:38 +05:30
Payas Relekar
1480134eab hledger: Make config even more lean and actually working
It does remove some features, but I'd rather have this whole thing
working right now, than anything else
2023-11-15 21:48:31 +05:30
Payas Relekar
9dba19c6e8 doom: Use a C-: as global keybinding for consult-imenu
org-mode unset somehow is not consistent, and I'm sick of making this
work now. So screw it, this is how its going to be now.
2023-11-15 21:18:42 +05:30
Payas Relekar
9de98a21a4 doom: experimental glean-ts-mode config 2023-11-15 21:01:29 +05:30
Payas Relekar
840fc9c660 doom: Enable global-visual-line-mode 2023-11-15 18:57:57 +05:30
Payas Relekar
2008c058c2 doom: Make hledger modes and config (mostly) working 2023-11-15 00:32:51 +05:30
Payas Relekar
c95232a2e2 doom: Add flymake-hledger 2023-11-14 22:54:13 +05:30
Payas Relekar
95a4c6b7d8 doom: remove magit-nix3
It was predictably causing too much slowdown during magit-status (why
couldn't it do the thing in the background?!)
2023-11-14 22:53:18 +05:30
Payas Relekar
941f013f80 doom: update org-mode keybindings to properly bind consult-imenu 2023-11-14 22:49:48 +05:30
Payas Relekar
f50c350676 doom: Use newer *-ts-mode in few places 2023-11-14 20:08:55 +05:30
Payas Relekar
dd830122e5 emacs: remove guile 2023-11-14 15:01:47 +05:30
Payas Relekar
72262e4ed6 doom: remove redundant docstring 2023-11-11 16:44:00 +05:30
Payas Relekar
068f5c4217 doom: Enable magit-nix3
It shows nice status and simple navigable inspection of the flake
itself. Doesn't seem to be too taxing on performance either.
2023-11-11 16:41:26 +05:30
Payas Relekar
94022286ec doom/meta: Update email 2023-11-11 16:38:37 +05:30
Payas Relekar
b515b7a807 doom: replace Nix module with nix-ts-mode custom config
The new config is much smaller, the new mode uses native tree-sitter
integration, and appears to be actively developed. It does not have all
the features as the doom module, but I didn't seem to use any of it
anyway.
2023-11-11 16:35:45 +05:30
Payas Relekar
eaf4ebbfad doom: remove Hyperbole with Embark
In all the time that I've had Hyperbole installed, I've only ever used
it to open file paths, and only in Nix files. While the package is
versatile and quite useful, it is a heavy package and takes noticeable
time on first start.

OTOH I am just not discovering that the same use-case is covered by
Embark, is much more featherweight in comparison and is already loaded
and used by Doom by default. After trying out, while not 1:1
replacement, it is a good enough one, so I'm removing Hyperbole for now.
The keybindings, by virtue of being probably single most accessible one,
is now awarded to embark-dwim, but may be exchanged with embark-act in
future, depending on how I feel.  embark-act gets C-. for now, which
itself is also fairly accessible.
2023-11-11 16:02:45 +05:30
Payas Relekar
ddc0505537 doom: unset org-agenda-cycle keybinds
I use these for consult-imenu, and never use the default.
2023-11-11 16:01:59 +05:30
Payas Relekar
6743a23644 doom: move new bhankas-org-agenda-limit-indirect-* functions to bhankas.el 2023-11-11 13:54:12 +05:30
Payas Relekar
8c4b9c4663 emacs: Add hunspell dictionaries
This fixes Jinx marking everything as incorrect spelling problem. The
dictionaries aren't that much different from before, but oh well. I'll
take what is working for now.
2023-11-11 13:46:59 +05:30
Payas Relekar
1e20c38277 doom: Add eat (Emulate A Terminal) 2023-11-11 11:57:00 +05:30
Payas Relekar
88287c9f73 doom/org: slight optimization for bhanaks-org-agenda-limit-indirect-* functions 2023-11-10 23:49:18 +05:30
Payas Relekar
d4fbff0e56 doom/org: Define advice'd functions before loading org 2023-11-10 20:55:42 +05:30
Payas Relekar
d89cdbb023 doom/org: limit max height for indirect buffers in agenda 2023-11-10 20:41:01 +05:30
Payas Relekar
4e4b8a576a doom/org: open agenda in new tab (also close tab when done with agenda) 2023-11-10 16:24:34 +05:30
Payas Relekar
ea9941dddb hermes+emacs: Add gleam lang and required tools 2023-10-28 19:05:43 +05:30
Payas Relekar
b7e01c1d08 emacs: remove outdated comment 2023-10-20 22:37:30 +05:30
Payas Relekar
9c49a8bac7 doom: set symbol font to JuliaMono
It is a modern decent font with support for very wide array of unicode
glyphs. Makes sense here.
2023-10-15 14:37:29 +05:30