Commit Graph

379 Commits

Author SHA1 Message Date
98f2dc0763 chore(navigation): Customize dired for GNU-based operating systems 2020-04-16 12:51:38 +01:00
767014dba5 feat(workspaces): Enable easy re-ordering of persp-mode perspectives 2020-04-09 13:56:24 +01:00
38e20c7d62 feat(lang): Add go-gen-test package for generating tabular tests
It uses gotests under the hood.
2020-03-30 22:08:05 +01:00
f0e8bd2388 chore(editor): Use siren-display-indentation exclusively
Instead of directly using the my current favorite indentation
highlighting package in various places, only use the
siren-display-indentation function. This lets me control it from a
single central place.
2020-03-30 21:57:32 +01:00
3e31bf0f2f chore(lang): Tweak company and whitespace options for golang
Setting company-echo-delay to 0.5 instead of 0 will help reduce unneeded
and intrusive code-completion popups while in the middle of typing. It
seemed like a good idea when I first set it, but after some use, no
thanks.

The whitespace-style tweak, effectively removes "indentation" from the
list of items whitespace-cleanup deals with on save. Indentation is
already being fixed by lsp-mode's before-save hooks, and
whitespace-cleanup was not very intelligent about it. It specifically
replaced all instances of four consecutive spaces in raw string
literals with a tab, which caused issues with multi-line raw strings
containing JSON.
2020-03-30 21:24:34 +01:00
5443b3dbc7 chore(lang): Tweaks projectile setup releated to dart and go 2020-03-30 21:24:01 +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
cfc6102f9e chore(org-mode): Tweak and improve various org-mode settings 2020-03-24 18:17:17 +00:00
1692aa1944 fix(windows): Make zoom-window package play nice with persp-mode
And also improve zoom-window color selection by adding a doom-themes
override for zoom-window, removing the hard-coded modeline background
color which was used before.
2020-03-24 18:15:22 +00:00
c38794dc39 chore(workspaces): Don't bother setting deprecated defcustom 2020-03-21 23:33:53 +00:00
b0a7dad59b chore(text-editing): Enable terminal-specific comment toggling
Emacs in a terminal interprets `C-c C-/` as `C-c C-_`, so let's make it
behave like it does in GUI.
2020-03-21 22:55:33 +00:00
9be6c72c18 chore(editor): Ensure ido is configured when amx is initialized 2020-03-21 22:54:54 +00:00
07657bbb73 feat(completion): Add configuration for prescient and selectrum
I'm not fully convinced with swapping out ido with selectrum, so I'll
add the configuration for both, without actually loading them, and
instead manually try them out from time to time.

Also, make ivy use prescient for filtering and sorting, as it does a
much better job than ivy itself does by default. But nothing currently
uses ivy either, so it's more for future if I start using ivy somewhere.
2020-03-21 22:52:01 +00:00
c8802b358b fix(editor): Disable ido-everywhere
Turns out ido-everywhere can yield some rather annoying results. So
let's not do that.
2020-03-20 14:44:58 +00:00
07521a1e71 feat(exports): Add pandoc exporting to org-mode and markdown-mode 2020-03-19 21:24:37 +00:00
faa82907d9 chore(lang): Set RET key for sh-mode-map with use-package 2020-03-19 21:24:37 +00:00
c6f919dfe1 chore(completion): Replace ivy with ido in the few places it was used 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
e257cc6245 chore(org-mode): Use org-return-indent instead of newline-and-indent 2020-03-19 21:24:31 +00:00
25152e1318 chore(lang): Improve go-mode setup and embrace lsp-mode
Use lsp-mode to format buffer on save, instead of gofmt or goimports.
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
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
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
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
6f3efe7233 chore(lang): Minor tweaks to major-mode file associations 2020-02-22 23:48:00 +00:00
eb792ce126 chore(lang): Improve plantuml-mode setup 2020-02-20 23:30:55 +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
067cee37ae chore(shell): Ensure shell-pop is lazy-loaded 2020-02-15 19:15:13 +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
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
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