Commit Graph

192 Commits

Author SHA1 Message Date
01bd757c15 fix(lang): gitconfig-mode and gitignore-mode have been replaced with git-modes 2021-10-24 03:50:18 +01:00
22369470c4 feat(navigation): use consult instead of helm for imenu completion
When lsp-mode is enabled, use consult-lsp-file-symbols instead of
consult-imenu, as it yields a more structured list and nicer formatted
symbol results. The result list is identical as lsp-mode updates imenu
with all file symbols, but via imenu they're just not rendered as
nicely.
2021-10-06 02:28:26 +01:00
093f4a62c3 feat(lang): add ssh-config-mode for ssh config and authorized_keys files 2021-09-18 20:46:46 +01:00
d3ee78224a feat(lang): add protobuf-mode and configure flycheck to support buf 2021-09-16 19:40:09 +01:00
4cb9c3d3a0 feat(makefile): improve makefile execution and bind it to C-c C-m
Use the makefile-executor package instead of helm-make to execute make
targets. But we still rely on helm-make due to it's more efficient
available targets lookup function compared to that of makefile-executor.

Running make targets is bound to C-c C-m now which is nice and fast, and
completes via completing-read, which is currently giving a better
suggested candidates via selectrum+orderless than helm-make does.

And helm-make is still available via the old C-c h m keybinding.
2021-09-13 12:38:34 +01:00
8096cb34ab feat(misc): add lorem-ipsum package 2021-08-03 01:27:39 +01:00
4c8384bcec fix(editor): switch from vertico to selectrum due lsp-mode issue
First time lsp-mode is started for a project, it will pop up a prompt to
ask how you want lsp-mode to determine the project root. When using
vertico, this selection is not visible, while with selectrum it works
fine.
2021-06-29 00:34:26 +01:00
0e6a7b6290 feat(editor): switch to vertico+orderless from selectrum+prescient
Personally I find orderless is giving me better results than prescient
when fuzzy/flex matching is enabled. Hence the switch to orderless.

I also split the modules apart to ensure, that selectrum, vertico,
prescient and orderless can be mixed and matched however and work
correctly.

And the switch from to vertico from selectrum is mostly cause I like
it's wraparound/cycle feature, where end/beginning of the candidate list
will wrap around.
2021-06-24 22:39:17 +01:00
654eae72ff chore(editor): extract recentf, savehist and uniquify to seperate modules 2021-06-24 19:16:16 +01:00
b049ec652a fix(init): workaround recursive load error in jka-compr with latest nightly builds 2021-06-21 03:47:58 +01:00
8c96e38141 feat(ui): improve vertical-border border character when running in terminal 2021-06-19 19:41:38 +01:00
27a7c5cb20 chore(deps): update xwidget-plus which is now named xwwp 2021-06-17 20:25:27 +01:00
639f813ab0 feat(ui): change macOS GUI font from Monaco to Menlo
Also force-disable bold font-weights, as they're a bit annoying.
2021-06-17 20:25:27 +01:00
49cef56c82 feat(editor): add embark
This is a basic setup, as I'm not very familiar with what is doable with
embark. It also takes over the goto-chg keybindings, cause that package
rarely worked correctly, so I almost never used it.
2021-06-17 20:25:26 +01:00
354ed23d21 feat(navigation): add consult 2021-06-17 20:19:26 +01:00
5878449963 feat(navigation): add ctrlf-mode, a isearch replacement 2021-06-17 20:18:09 +01:00
93c22e1bb9 feat(editor): replace ido and amx with selectrum, prescient and marginalia 2021-06-17 20:13:57 +01:00
b7d914c51e feat(formatting): use whitespace-clean-mode
This should offer a more reliable means of running `whitespace-cleanup`
on buffer save than whitespace-mode's whitespace-action setting. Also it
allows for easily toggling whitespace clean up off by disabling
whitespace-clean-mode.
2021-04-25 22:44:26 +01:00
c8187b4be8 feat(org): expand and tweak org-src and org-babel setup 2021-04-20 01:32:11 +01:00
349f007fe9 feat(shell): add xterm-color package to colorize compilation buffers
Some commands which output to compilation buffers did not get their
output colorized correctly by default. This ensures that terminal based
escape sequences are correctly handled.
2021-04-07 23:50:11 +01:00
5f4aa98abd feat(theme): improve doom-themes overrides by using a proper theme
Instead of manually just setting faces after loading a doom-themes
theme, let's use a custom override theme which we apply right after
applying any doom-themes theme.

The override theme uses various doom-color helpers, so the colors it
uses will be based on the most recently applied doom-themes theme.
2021-04-07 23:50:11 +01:00
5a425b5812 fix(version-control): pin diff-hl to a known good commit
The very next commit introduces a new feature to show git hunks, which
seems to have a negative impact on performance when moving the cursor
around, or adding/removing text within lines which are highlighted by
diff-hl while diff-hl-flydiff-mode is enabled.

So for now I'm pinning diff-hl to the commit right before this was
introduced.
2021-04-01 01:07:33 +01:00
0e6f2856c4 chore(lsp): move lsp-ui config into siren-lsp module
There's no need for having lsp-ui setup in a separate siren-lsp-ui
module, as there's little to no reason to ever use lsp-mode without
lsp-ui.
2021-03-15 23:12:10 +00:00
e74800b5cb fix(lang): ensure Go related env vars are correctly loaded 2021-02-27 23:33:00 +00:00
831503060f chore(startup): stop using emacs-startup-hook to trigger package load
Packages that need to be loaded on emacs startup, should just be loaded
through use-package in a non-deferred manner.

It makes no real difference to startup, loading the packages either
slows down emacs before "startup" is complete, or right after it
completes. End result is that Emacs is unresponsive for basically the
same amount of time regardless.
2021-02-17 01:52:58 +00:00
03682066c7 feat(editor): update undo-tree to 0.8
Override the undo-tree package within straight.el to have it grab the
package directly from the official Git repo on GitLab.
2021-02-17 01:52:58 +00:00
bbc0e4a714 feat(tools): add ob-http package 2020-12-25 13:49:08 +00:00
f675e1f030 feat(tools): add httprepl package 2020-12-25 13:49:08 +00:00
2af986d57f feat(tools): add and configure restclient package 2020-12-25 13:49:08 +00:00
7917f6ac56 feat(debugging): add dap-mode with basic config for Go and Ruby 2020-11-11 10:51:08 +00:00
490b4a2d08 chore(navigation): disable helm-open-github package
I haven't used it for years, and it depends on gh.el which throws causes
lots of warnings on every startup with native-comp cause it fails to
compile.
2020-11-11 10:36:28 +00:00
60df63bc49 feat(misc): add various rand-* commands for generating randomized data 2020-10-27 13:05:42 +00:00
21fb1fbd91 chore(lang): remove json-snatcher package override as fix has been merged 2020-10-15 15:28:29 +01:00
22691c846a chore(packages): use straight-x-clean-unused-repos function from straight 2020-10-15 15:25:27 +01:00
f987f01f9a fix(ui): use advice to yes-or-no-p to y-or-n-p
This feels cleaner and less hacky, and most importantly works correctly
with native-comp.
2020-10-09 13:41:49 +01:00
9d45b1a908 fix(lang): ensure golang setup works with goenv 2020-10-09 10:23:27 +01:00
5937589cc5 feat(lang): add jsonnet-mode 2020-09-27 19:46:27 +01:00
bda82a9c77 feat(macos): move files/folders to trash instead of deleting them on macOS
Use the osx-trash package to enable emacs' built-in trash support, which
seems to explicitly lack macOS support.
2020-09-27 19:45:37 +01:00
9c28e4229f feat(misc): add uuidgen package 2020-09-18 09:34:25 +01:00
298587d35d fix(lang): resolve json-snatcher issue by overriding it with a fork 2020-09-10 20:22:42 +01:00
cf1e3af424 chore(org): disable siren-ox-jira module 2020-09-01 08:32:51 +01:00
eae42fa67d chore(init): use defvar instead of setq for custom variables 2020-08-25 01:44:28 +01:00
dccb57747e feat(windows): use new windmove-swap-* functions on Emacs 27 and later
Fallback onto buffer-move package for Emacs versions prior to 27.
2020-08-20 22:13:38 +01:00
658daa99d6 feat(core): add support for native-comp/gccemacs 2020-08-19 00:44:57 +01:00
e8f82a4b1a feat(workspaces): switch from persp-mode to tar-bar-mode and desktop
Replace persp-mode with:

- tab-bar-mode for perspective/screen management
- desktop-save-mode for session management

Both tab-bar-mode and desktop are enhanced and customized a decent bit
via the siren-tab-bar and siren-desktop modules.
2020-08-16 14:52:45 +01:00
d80df8e2d4 fix(core): set default-directory correctly during startup on macOS 2020-08-16 14:21:01 +01:00
7ed3e92dbb feat(core): use buffer local hl-line-mode instead of global-hl-line-mode
This allows specific major-modes to disable hl-line-mode, which is
desired some terminal/shell modes like vterm where the hl-line flickers
constantly while typing.
2020-08-16 14:21:00 +01:00
d1f4e13886 feat(lang): add vue-mode for working with .vue files 2020-08-11 13:47:21 +01:00
efd0b421e3 feat(lsp): Improve lsp-mode performance, support latest 7.x version
company-lsp is no longer supported by lsp-mode for providing completions
to company, instead company-capf should be used which it built-in to
company itself.
2020-07-04 18:52:33 +01:00
84bdd610ca feat(lang): Add jinja2-mode for Jinja2 templates 2020-06-07 15:55:00 +01:00