Commit Graph

170 Commits

Author SHA1 Message Date
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
e6b52a534a feat(lang): Add caddyfile-mode for Caddy config files 2020-06-05 12:44:03 +01:00
ca2d51bebd fix(workspaces): Attempt to fix persp-mode forgetting persp layouts
It seems the visual-fill-column-mode that writeroom-mode depends upon
causes persp-mode to sometimes forget the contents/layout of a persp.

Hence I'm completely disabling it for now to see if it resolves my
issues, specially as I hardly ever use writeroom-mode anyway.
2020-06-02 10:50:30 +01:00
0f13518f91 feat(lang): Add support for Haskell via haskell-mode 2020-05-24 00:22:54 +01:00
e4c864319a feat(lang): Add module for terraform-mode package
And enable formatting terraform files with `terraform fmt` through the
use of reformatter.
2020-05-24 00:15:32 +01:00
8814bf1303 feat(performance): Add explain-pause-mode
This might come in handy with debugging what causing slowdowns in emacs.
2020-05-19 21:47:34 +01:00
25441f47d3 feat(lang): Use rubocop-daemon to format ruby files on save
On my 2016 MacBook Pro correction times are around 200ms with the
daemon, compared to around 3-4 seconds without.

There might be some issues if bundler depends heavily on gems included
in the project, but we'll see how that goes.
2020-05-19 11:10:19 +01:00
620b78368c chore(documentation): Move siren-helpful module to documentation dir 2020-05-10 21:26:29 +01:00
cdacf31ca0 feat(editor): Replace browse-kill-ring with helm-show-kill-ring 2020-05-10 21:26:24 +01:00
cb16ffe993 fix(navigation): Lazy-load helm without breaking keybindings
This involved always loading `helm-config` which sets up
`helm-command-prefix` and `helm-command-map` allowing use-package to set
bindings on the map all without loading anything else until needed.
2020-05-10 21:23:37 +01:00
801d6f133a feat(navigation): Improve narrowing with recursive-narrow package
Additionally allow `recursive-narrow-or-widen-dwin` to also trigger
`org-edit-src-code` within org buffers. This technically does not use
narrowing, but it does "focus" on the source code block for editing, so
it at least in spirit embodies the intent of narrowing.

This behavior was inspired by:
https://endlessparentheses.com/emacs-narrow-or-widen-dwim.html
2020-05-07 19:11:05 +01:00
4d447e723a feat(text-editing): Safer case change keybindings (C-x C-u, C-x C-l)
By default when region is not active, both `downcase-region` (C-x C-l)
and `upcase-region` (C-x C-u) will operate on surrounding text in
different ways depending on major-mode. This has caught me off guard a
few times.

So let's replace them with safer `downcase-region-only` and
`upcase-region-only` functions which ONLY perform changes when the
region is active. And obviously changes are only applied to the text
within the region.
2020-05-07 19:06:14 +01:00
b00b96092b refactor(core): Organize siren util funcs and macros a bit better 2020-05-07 19:02:55 +01:00
7eff53ce17 chore(lang): Load nginx-mode 2020-05-04 09:09:56 +01:00
e90ea7d4bf chore(editor): Change GUI font used in Linux to Menlo for Powerline 2020-04-09 13:57:21 +01:00
c7e507f5ba chore(editor): Switch back to highlight-symbol package
The auto-highlight-symbol package has a nicer interactive editing mode,
but it messes with the visual presentation for selected region and other
things. So let's go back to the less fancy but more reliable
highlight-symbol package.

Also let's properly disable both symbol highlighting packages in golang
and dart, where lsp-mode provides a better and more intelligent symbol
highlighting feature.
2020-03-30 21:21:10 +01:00
07521a1e71 feat(exports): Add pandoc exporting to org-mode and markdown-mode 2020-03-19 21:24:37 +00:00
c0993c8c54 feat(xwidgets): Add xwidget-plus package 2020-03-19 21:24:32 +00:00
314923217c chore(editor): Load but do not enable which-key-mode 2020-03-19 21:24:32 +00:00
801b32af1d feat(misc): Add grip-mode to preview Markdown via GitHub's API 2020-03-19 21:24:31 +00:00
efecb5172c chore(startup): Make various modules more lazy-loaded
This should improve startup speed a little bit.
2020-03-15 02:44:46 +00:00
045520a603 feat(editor): Use auto-highlight-symbol instead of highlight-symbol
It turns out that auto-highlight-symbol is a bit more advanced, with a
MUCH nicer edit symbol feature than highlight-symbol does.
2020-03-06 18:35:11 +00:00
79caa36d95 feat(tools): Add helm-make package 2020-03-06 11:51:42 +00:00