Commit Graph

260 Commits

Author SHA1 Message Date
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
bd3e53bdc8 fix(packages): override undo-fu and undo-fu-session recipes
Both undo-fu and undo-fu-session are hosted on codeberg, which seems to
be down right now. Hence instead let's pull in these packages from the
mirrors on the emacsmirrors GitGub org.
2022-06-09 01:01:41 +01:00
da9237150a chore(packages): remove undo-tree recipe override
undo-tree in ELPA now seems to be update to date.
2022-06-09 01:00:14 +01:00
f6ecda7bf4 feat(completion): replace orderless with fussy
Use fussy instead of orderless for filtering and scoring/ordering
completion candidates. This seems to overall order results in a much
better way than just orderless.

Technically orderless is still used to filter the candidate list, but
fzf-native is used to score/order the results.
2022-06-09 00:58:38 +01:00
13847908e2 chore(package): update straight.el and package lock file 2022-06-02 00:16:07 +01:00
ad2e2d2bab feat(text-editing): add siren-insert module
Defines two functions for inserting en-dash and em-dash characters which
are typically difficult to type directly into Emacs.
2022-05-02 10:27:26 +01:00
44c4cc93c1 feat(completion): add support for GitHub Copilot via copilot.el
I opted for accepting copilot completions using C-<tab> /
<backtab> (shift+tab) instead of regular tab, as it was often getting in
the way of yasnippet and lsp completion suggestions. This allows a more
explicit acceptance of Copilot suggestions.
2022-04-28 12:08:11 +01:00
1a2682da2a chore(languages): move .zsh association to siren-sh module 2022-04-27 02:27:45 +01:00
177f075853 feat(editor): replace undo-tree with undo-fu and vundo
Also replace undohist with undo-fu-session.

Overall this seems to yield a more reliable undo history, as undo-fu and
vundo supposedly operate with vanilla emacs undo history state, while
undo-tree supposedly does some custom tweaks to the undo state.
2022-04-26 23:39:48 +01:00
c84bf1dea6 feat(editor): improve whitespace-mode setup and cleanup on save
Move away from the whitespace-cleanup-mode package, and instead simply
define our own whitespace-cleanup-on-save-mode minor-mode that uses a
before-save-hook.
2022-04-26 23:33:57 +01:00
881250f6c4 chore(core): add siren-dir and siren-cache-dir helper functions 2022-04-26 20:00:03 +01:00
db8c95438f chore(text-editing): disable tempel module
I still prefer yasnippet.
2022-04-19 01:12:42 +01:00
f0f7c53cb3 feat(ui): enable pixel-scroll-precision-mode in GUI if available 2022-04-07 01:42:18 +01:00
c64b717e59 feat(misc): disable grip-mode as I never use it 2022-03-14 21:16:29 +00:00
6bada58d49 feat(snippets): add wip config for tempel to try it out 2022-03-14 21:16:15 +00:00
3fc0d2d77d feat(core): add general.el for easier / flexible keybinding definitions 2022-03-14 21:16:15 +00:00
106245af8b feat(completion): improve completion-at-point/company candidates
This applies especially in lsp-mode. Yasnippet snippets now show as
completion candidates if the word at point exactly matches a snippet
keyword, otherwise it'll fallback to normal lsp backed completion.

And it also supports completing file/directory names now too while
lsp-mode is active.

All this is done by modifying completion-at-point-functions after
lsp-mode has done it's trickery with it. Along with a dirty hack to
company-yasnippet to make it only activate on exact matches. Without
this hack, lsp backed completion rarely activates as snippets would have
higher priority if there's any partial matches.
2022-03-14 21:16:13 +00:00
246a459622 fix(navigation): remove ctrlf package in favor of isearch
Visually ctrlf is very nice, but it seems one of it's features is to
stay active in the mini-buffer until explicitly cancelled. This can
easily lead to annoyance if you mess up a C-x C-s keybind and then move
on to other buffers and such, as ctrlf will still be active.

Regular isearch however will dismiss itself as soon as you do anything
other than typing in a search query. Hence causing a lot less annoyance
for me.
2022-03-10 21:11:52 +00:00
f39714b1ca feat(core/editor): disable graphical dialog boxes 2022-02-23 12:11:54 +00:00
96d5bab074 fix(navigation): disable direx as it is broken on recent Emacs 29.x builds 2022-02-23 12:11:17 +00:00