Commit Graph

1016 Commits

Author SHA1 Message Date
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
ac3f851a52 chore(packages): Update straight.el's lock file 2020-03-15 00:22:28 +00:00
490ea7e92d chore(projects): Add "Rakefile" as possible projecte root 2020-03-12 19:07:07 +00:00
41ed781f2b chore(editor): Enable faces/styling in ido 2020-03-12 18:59:31 +00:00
af7323061f chore(lang): Disable ruby-specific keybinding
I don't use inf-ruby that much, so I'm fine with using it via M-x when
needed. Specially as a bunch of it's keybindings overrides a few global
keybindings I have set.
2020-03-06 18:38:31 +00:00
61e6a81388 chore(spelling): Lazy-load flyspell 2020-03-06 18:38:04 +00:00
bdeda97fb8 chore(editor): Switch amx from ivy to ido completion
Ivy is very nicer and fancy, but it doesn't sort exact matches highest
when using fuzzy matching, ido does.
2020-03-06 18:37:01 +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
79f70ef90b chore(navigation): Make helm-man-woman available via C-c h M
I mapped helm-make-projectile to "m" within the helm-command-map, which
replaced helm-man-woman which, so let's make that available as "M"
within the helm-command-map instead.
2020-03-06 11:56:54 +00:00
79caa36d95 feat(tools): Add helm-make package 2020-03-06 11:51:42 +00:00
ced8ae8c88 chore(editor): Tweak amx, helm, undo-tree and flyspell keybinds 2020-03-05 22:07:22 +00:00
ff378e13fa feat(tools): Add docker and kubernetes packages
They allow managing docker and kubernetes resources from within emacs.
2020-03-01 23:45:17 +00:00
7496d5995a chore(packages): Update straight.el's lock file 2020-03-01 23:23:43 +00:00
c91f3fecc4 chore(editor): Replace smex with amx package
Smex has not been updated since late 2015. Amx was originally a fork of
smex, but as since evolved much further into it's own thing.

Among other things is supports other completing backends, and ivy with
it's fuzzy matching feels rather nice. I'm keeping ido-mode for
everything else, but specifically for M-x I'll give ivy a try.
2020-03-01 22:35:59 +00:00
c7c8b77c28 chore(ui): Make mouse scrolling a bit smoother 2020-03-01 22:05:33 +00:00
937e61d482 chore(lang): Disable use of spring with rspec-mode
Spring has changed and is no longer compatible with the way that
rspec-mode implements spring support. Hence we need to disable
rspec-mode's support and attempts at using Spring the wrong way.

Once rspec-mode has been updated to support spring again, we can
re-enable this.
2020-02-22 23:52:20 +00:00
4b599de686 chore(macos): No longer trigger fullscreen on startup
Recent Emacs 27 builds use the native macOS fullscreen for the first
10-20 seconds after startup when `ns-use-native-fullscreen` is set to
nil during startup.

So instead of forcing emacs into fullscreen, just force maximize the
window on startup instead.
2020-02-22 23:48:35 +00:00
6f3efe7233 chore(lang): Minor tweaks to major-mode file associations 2020-02-22 23:48:00 +00:00
8d0c523eff chore(core): Improve environment setup
With my shell setup cleaned up so all environment variables are set in
`~/.zshenv`, and all the slower interactive shell setup in `~/.zshrc`,
we can no remove the `-i` flag from exec-path-from-shell's setup,
leading to a much faster setup time.

Also load additional environment variables, and also set
`temporary-file-directory` to match the `TMPDIR` environment variable.
2020-02-22 23:44:49 +00:00
fdfdbc16f4 fix(core): Auto-save folder was not being set correctly
Due to the value being set not ending with a slash, auto-save files were
being stores in `~/.emacs.d/cache` instead of
`~/.emacs.d/cache/autosave`.

The fix was to add a slash at the end, and also to ensure the directory
exists.
2020-02-22 23:42:11 +00:00
a3fcbcdaf9 chore(packages): Update straight.el's lock file 2020-02-22 12:25:42 +00:00
eb792ce126 chore(lang): Improve plantuml-mode setup 2020-02-20 23:30:55 +00:00
2035f10606 chore(snippets): Add shorter version of "<src" snippet
It seems the src snippet that comes with yasnippet was changed from
"<s" to "<src". I prefer the shorter, so added a custom snippet for it.
2020-02-20 23:28:51 +00:00
d21a11dc71 chore(lang): Add support for mermaid diagrams
The org-babal features of mermaid-mode itself don't seem to work, but
the separate ob-mermaid does work.
2020-02-20 23:26:23 +00:00
3062dd1b62 chore(themes): Improve doom-themes setup
Also provide `M-x siren-doom-themes-load` to interactively choose a doom
theme to load and apply my custom set of tweaks.
2020-02-16 11:22:03 +00:00
27df983568 chore(macos): Enable transparent window titlebar on macOS 2020-02-15 19:15:13 +00:00
067cee37ae chore(shell): Ensure shell-pop is lazy-loaded 2020-02-15 19:15:13 +00:00
e9e65f9d9f perf(startup): Improve startup speed by borrowing from doom-emacs
Shameless borrow various methods of improving Emacs startup time from
doom-emacs:

b0978a4526/docs/faq.org (how-does-doom-start-up-so-quickly)
2020-02-15 19:15:13 +00:00
e703f4ef53 chore(packages): Refactor package setups in within core
And get rid of:

- dash, doesn't need to be, packages which depend on it, should have it
  listed as a dependency
- smart-mode-line, don't need it anymore as I use the doom-modeline
  package to stylize the modeline.
2020-02-15 19:13:28 +00:00
d557d47dc0 chore(init): Use emacs-startup-hook instead of after-init-hook 2020-02-15 17:58:53 +00:00
b923979f7a chore(themes): Simplify theme initialization and setup
I've been using doom-themes' doom-vibrant for long enough now that I'm
certain I won't be moving away from it anytime soon. So let's simplify
and strip away all other theme setup stuff.
2020-02-14 23:53:45 +00:00
8dbc5066b3 chore(vendor): Remove vendor directory support
I don't need it anymore, and if I ever do, it's not hard to add back.
2020-02-14 23:19:30 +00:00
70c9bcdd9c chore(git): Update .gitignore to add .cache and .extension 2020-02-14 11:15:03 +00:00
6794d1fdd3 chore(themes): Update custom tweaks to doom-themes
At some point I need to make a common function or something for any/all
doom themes, as I tweak them all the same way :P
2020-02-14 11:13:06 +00:00
16264c3f91 fix(vc): Disable magit-todos package
It seems to cause very long freezes within magit itself, especially when
trying to commit. It seems to that the git diff command that's run in
the background hangs and/or takes a very long time to complete for some
reason.

Manually killing those git processes let's magit wake up instantly
again, in htop they're listed as:

    git --no-pager diff --no-color -U0 <Git SHA of HEAD>
2020-02-08 10:30:22 +00:00
8730b23256 feat(navigation): Add config for centaur-tabs, not loaded on startup
As I don't see myself using tabs all the time, but potentially wanting
access to them every now and then, I need to manually trigger one of the
tab / tab-group switching keybindings, or M-x centaur-tabs-mode to load
and enable it.
2020-02-08 10:27:18 +00:00
c7a0ca0889 chore(org-mode): Init org-mouse with org-mode
Not much point in having a separate siren module for org-mouse, when you
would probably never want org-mode without org-mouse on too.
2020-02-04 10:09:47 +00:00
ab03a6f890 chore(packages): Update straight.el's lock file 2020-02-04 10:08:55 +00:00
79fbd5e371 chore(core): Improve macOS setup 2020-02-04 10:08:55 +00:00
7d0cdb6e78 chore(misc): Make zoning out even more fun 2020-02-04 10:08:54 +00:00
252553fa88 fix(org-mode): Remove invalid confluence export-backend 2020-02-04 10:08:54 +00:00
b09cc28fb7 fix(navigation): Improve dired on macOS 2020-02-04 10:08:54 +00:00
663852a210 feat(editor): Add mwim package to replace custom function 2020-02-04 10:08:53 +00:00
683ab9a8a1 fix(workspaces): Don't restore magit buffers on startup
Persp-mode doesn't quite manage to restore magit buffers correctly, so
I've opted to have it ignore any and all magit buffers when performing
it's auto-save.

It is possible to configure it to know how to save and load the
magit-status buffer for example, but the snippet for it from
persp-mode's readme doesn't fully restore the buffer as is. And magit
has many different kinds of buffers, so I've simply opted for having all
ignored.
2020-02-04 10:08:42 +00:00
af2894c6fc chore(core): Make Emacs play nice when run in a terminal
Ever since I started using persp-mode, launching Emacs in a terminal has
made it restore the same set of open files as in my main GUI instance of
Emacs. This hasn't been a big deal, but still somewhat annoying.

I've finally gotten around to disabling persp-mode's auto save/load
feature when running Emacs in a terminal.

And for good measure, I also set the theme to be doom-vibrant in the
terminal too. My old tomorrow-night-paradise is way out of date, and
nowhere near as good as doom-vibrant.
2020-02-04 10:08:42 +00:00
6888df47c6 fix(editor): Improve reliability of undo history
The undo history feature of undo-tree has been very unreliable lately,
to the point it fails to load undo history for nearly every file.

It seems the undohist package is a lot more reliable.
2020-02-04 10:08:41 +00:00
951a40346e chore(packages): Disable packages I don't use 2020-02-04 10:08:41 +00:00
b13ca362cb feat(packages): Replace package.el with straight.el 2020-02-04 10:08:37 +00:00
ee916bb347 chore(lang): Update web-mode setup for Emacs 27
With Emacs 27 we are using the new built-in
display-fill-column-indicator mode. It does not have issues with
web-mode like fci-mode from the fill-column-indicator package does.
2020-01-28 21:54:24 +00:00
d50ffee618 feat(lang): Format all the things (almost) with prettier 2020-01-28 21:51:01 +00:00