Commit Graph

279 Commits

Author SHA1 Message Date
de1fd38481 fix(language/typescript): ensure it loads correctly 2023-08-01 01:35:36 +01:00
539d063403 chore(editor): change from snap-indent to yank-indent package
yank-indent is more focused on specifically indenting after yank, and
the PR to enhance snap-indent with some similar features has been open
for some time now with no movement.
2023-06-13 00:59:55 +01:00
763955452c chore(deps): use built-in use-package if available
use-package was recently added to Emacs itself. Hence if it is
available, do not separately install the package from a package source.
2023-05-23 23:07:53 +01:00
08787800a3 fix(macos): hide all child frames when toggling non-native fullscreen
For a couple of years now, there's been a bug on macOS with the
non-native fullscreen implementation. When enabling fullscreen, any
child-frames created by packages like lsp-ui, company-box, posframe,
etc. all re-appear on top of the fullscreened frame, and stay there
until you re-trigger whatever package/command that created the
childframe originally.

This works around this issue by simply closing all child frames when
toggling non-native fullscreen.
2023-05-23 23:04:52 +01:00
431692af1a feat(language/csv): add setup for csv-mode 2023-05-17 13:46:15 +01:00
f5ce193239 feat(core): update font selection preferring Nerd Font Mono 2023-05-15 22:36:14 +01:00
1729317cd8 feat(navigation): add dirvish and have it override/enhance dired 2023-05-15 22:36:14 +01:00
4654ea5e80 fix(completion/marginalia): improve issues with project-buffer annotations
Show project relative file paths even when project root and file paths
start with a mixure of "~/" and absolute path.

Also handle buffers not backed by a file on disk by falling back onto
marginalia--buffer-file.
2023-05-11 01:19:05 +01:00
146d2311a9 chore(treesit): tweak setup of built-in treesit modes 2023-05-09 01:30:18 +01:00
3bd155cb79 feat(editor): try snap-indent as a replacement for yank-indent
Currently trying via my own fork of snap-indent, which has a PR pending.
2023-05-01 00:01:45 +01:00
a78e417e6f feat(icons): use nerd-fonts to display icons in terminals
Uses the new nerd-icons package to display icons in various places
similar to all-the-icons. But it works in a terminal too as long as the
terminal is using a Nerd Font.
2023-04-30 23:47:38 +01:00
35695a7455 chore(editor): remove diminish package
Since we're using the doom-modeline, diminish has no visible effect.
2023-04-25 02:02:56 +01:00
0308067065 refactor(ui): move transparency related things to a module 2023-04-25 02:00:27 +01:00
d0d604bbc7 feat(ai/chatgpt): all per-model API key configuration in shared setup 2023-04-17 01:15:06 +01:00
4f32191983 feat(ai/chatgpt): improvements with a focus on gptel and chatgpt-shell packages 2023-04-16 18:13:58 +01:00
0eedc37603 feat(editor): add custom yank-indent package
When yank-indent-mode is enabled, yanked (pasted) text is indented based
on the indent rules of the current major mode. It has a
global-yank-indent-mode too which by default excludes a long list of
known indentation sensitive modes with which this approach does not work
very well.

It is based on some random hacky snippets elisp I've been using for over
a decade. Said snippets are themselves based on some random snippets I
found online, and since morphed into the weird monster they had become.
2023-04-16 03:13:14 +01:00
f058bee1df feat(core/macos): add C-s-<return> alternative binding for fullscreen toggle 2023-03-23 01:35:54 +00:00
9207050c23 feat(misc/chatgpt): add unofficial package for interacting with ChatGPT 2023-03-07 23:35:03 +00:00
cead803781 feat(language/typescript): switch to new typescript-ts-mode
As typescript-mode has effectively been deprecated, let's switch to the
new typescript-ts-mode in Emacs 29.x.
2023-02-08 22:43:46 +00:00
f27702dda2 chore(core): simplify startup message 2023-01-20 20:58:23 +00:00
ce0a9bfc5c feat(core/straight.el): use version specific build dir
This makes switching between Emacs 29.x and 30.x much easier, as
straight doesn't need to re-build all packages from scratch when the
Emacs version changes.
2023-01-15 20:57:29 +00:00
7e29a78b05 feat(language/rust): major improvements to Rust dev experience 2023-01-15 20:57:29 +00:00
23d6664609 feat(language/nix): add nix-mode for editing *.nix files 2023-01-09 10:49:23 +00:00
d6457f26de feat(editor): add direnv-mode to set env vars via direnv 2023-01-09 10:48:26 +00:00
53763d7112 chore(deps): update go-playground after fix-upload PR was merged 2022-12-04 22:17:13 +00:00
dad465c90a chore(text-editing/smartparens): move setup to a central list of hooks 2022-12-04 01:55:43 +00:00
9654403bee feat(editor): enable subword-word globally in all buffers 2022-12-04 01:14:57 +00:00
63d0345b21 chore(editor/origami): move setup to a central list of hooks 2022-12-04 00:27:38 +00:00
5e47cd9a46 chore(formatting/prettier-js): move setup to a central list of hooks 2022-12-03 23:38:39 +00:00
044c67d379 chore(tree-sitter): move setup to a central list of hooks 2022-12-03 23:34:52 +00:00
5322ca88eb chore(editor/all-the-icons): remove custom project-file category alias
It is now part of the MintSoup's fork of all-the-icons-completion.
2022-10-24 10:40:39 +01:00
dfe7250218 feat(editor): switch to fork of all-the-icons-completion 2022-10-19 23:22:02 +01:00
ebdfb75d83 chore(package): switch makefile-executor back to upstream repo
A fix for the syntax error has been merged.
2022-09-28 10:59:28 +01:00
689a2ae585 chore(package): switch makefile-executor to my fork until fix is merged 2022-09-28 02:14:39 +01:00
f1a13a920e chore(packages): override git-timemachine with fork that fixes bug 2022-09-22 14:13:40 +01:00
06bf89af61 feat(misc): add new siren-reopen helper function 2022-08-25 22:59:09 +01:00
c7d1f1d749 feat(editor): replace highlight-symbol with symbol-overlay
symbol-overlay claims to be much faster at highlighting symbols across
large files, and also has better interactive symbol manipulation
features.
2022-08-15 23:56:17 +01:00
f1c0030aff feat(languages/x509): add x509-mode
This allows using M-x x509-dwim to decode any PEM encoded OpenSSL
certs/keys and display all details via OpenSSL.
2022-08-13 16:22:23 +01:00
de722509f5 feat(navigation): setup better-jumper to jump back after goto def style operations 2022-08-13 16:21:17 +01:00
789a13b0fa chore(deps): simplify vertico package recipe override 2022-08-10 22:48:47 +01:00
893f0b8b57 chore(deps): remove company-nginx override as it is no longer needed 2022-08-10 22:20:24 +01:00
27db1d32d0 chore(deps): remove undo-fu and undo-fu-session recipe overrides 2022-08-10 20:59:55 +01:00
bbd8f11719 feat(utils): add siren-prepend and siren-append macros
These macros work more or less like add-to-list, except they will always
leave ELEMENT as the first/last element in the list, while add-to-list
does not modify the list if ELEMENT is already present anywhere in the
list.
2022-07-30 21:35:24 +01:00
a67b8f5047 feat(core/vendor): add support for loading files from vendor directory 2022-07-20 22:02:12 +01:00
0de0c4ca23 feat(text-editing): replace toggle-quotes with cycle-quotes package
It seems cycle-quotes does a better job than toggle-quotes. For example
it supports literal backtick strings in Go, which toggle-quotes does
not.
2022-07-20 22:02:12 +01:00
86464e80b1 feat(text-editing): add shift-number package 2022-07-20 22:02:12 +01:00
ab7d541148 feat(text-editing): add beginend package which improves M-< and M-> keybindings 2022-07-20 22:02:12 +01:00
7c253d986c feat(editor): improve code folding with origami
Add and configure origami, and enable it for majro modes where it seems
to do a good job, and keep using hideshow for other major modes.
2022-07-20 22:02:12 +01:00
9d72997be0 feat(ui): add solaire-mode 2022-07-16 00:07:45 +01:00
731be46b93 feat(core): add siren-reopen-current-file interactive command
This is mostly a helper function for when I've messed around with active
modes in a file buffer a whole bunch, and I just want to revert all
things to the default state of when the file is opened.
2022-07-13 18:54:56 +01:00