Commit Graph

106 Commits

Author SHA1 Message Date
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
79fbd5e371 chore(core): Improve macOS setup 2020-02-04 10:08:55 +00:00
663852a210 feat(editor): Add mwim package to replace custom function 2020-02-04 10:08:53 +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
b5cb054403 feat(lang): Add support for TOML files via toml-mode package 2020-01-28 21:49:26 +00:00
1469865826 feat(lang): Add config for nxml-mode 2020-01-28 21:48:30 +00:00
b257c7d206 feat(projects): Get treemacs working nicely with helm
And also better configured treemacs in general.
2020-01-27 03:55:12 +00:00
a0a72bddc5 feat(editor): Add siren-display-fill-column wrapper module
This module wraps around the fill-column-indicator and it's
fci-mode. This will enable easy switch-over to Emacs 27's native
display-fill-column-indicator feature.
2020-01-26 22:09:01 +00:00
abff344eb2 refactor(folding): Improve siren-folding module
- Add a siren-folding function which enables all folding-related modes,
  and change other modules to use this new function.
2020-01-26 21:39:46 +00:00
392d769816 feat(line-numbers): Swap linum for built-in display-line-numbers
Also create a new siren-display-line-numbers module and function that's
responsible for turning on the display of line numbers. Future changes
to how line numbers are displayed can now be done in a single place.
2020-01-26 20:44:13 +00:00
290ba13b1c chore: Improve loading of prog-mode features into non-prog-mode modes
There are a few major modes which are not based on prog-mode, that I
want to behave like prog-mode. Previously each did nearly all the same
setup that's done via the prog-mode hooks. Now instead let's actually
run runs the hooks for prog-mode.
2020-01-26 20:25:49 +00:00
8ed4a4e6f5 refactor: Visual indentation guides
- Switch from highlight-indentation package to highlight-indent-guides.
- Activate visual indentation in a prog-mode hook, rather than doing
  within each individual major mode. It was already done within all
  major modes based on prog-mode anyway.
- Add new siren-display-indetation module and function as a central way
  to enable visual indetation guides. This makes switching the
  underlying package at some point in the future much easier.
2020-01-26 18:53:44 +00:00
702d2989dd Use smart-shift package for indenting and undenting 2019-12-10 15:22:42 +00:00
8afb1282b7 Disable which-key package
It seems to impact performance, and I rarely find it useful.
2019-12-10 15:21:47 +00:00
091325f824 Refactor recursive load-path setup 2019-10-25 20:05:35 +01:00
162b86f19b Use paradox again, I miss it 2019-10-25 20:05:05 +01:00
787f43b428 Disable various modules I never use 2019-09-10 17:03:01 +01:00
a3f4a72256 Move siren-shell-pop module to shell category 2019-09-10 16:59:04 +01:00
bfed1f8822 Don't turn on global whitespace-mode
It's already turned on within each mode I care about.
2019-09-04 13:55:08 +01:00
288fdddbc1 Disable realgud module, I never really use it 2019-09-04 13:54:35 +01:00
1cb4369d6e Fix paste indenting issues with Makefiles
And also improve the siren custom options.
2019-08-17 17:33:24 +01:00
0375cd0328 Ensure module names cannot collide with core setup files
The core setup files for Emacs Siren which lives in the core directory
followed a `siren-*.el` naming convention, which is the same as the
naming convention for modules.

This means that the `modules/core/siren-packages.el` module for adding
packages for Emacs package development, was not being loaded due to it's
name conflicting with `core/siren-packages.el` which sets up and
configures the packaging system.

So all files under the root `core` directory now follow a
`siren-core-*.el` naming scheme, meaning modules should no longer
conflict with core files.
2019-08-17 17:00:35 +01:00
384136d95d Add module for ialign 2019-08-16 16:28:47 +01:00
70565fa9d7 Add module for shell-pop 2019-08-16 13:59:58 +01:00
20ddd90087 Add module for magit-todos 2019-08-16 13:46:02 +01:00
1e78e857d2 Switch from escreen to persp-mode 2019-08-16 13:17:44 +01:00
a8e3f54f3d Add module for paradox 2019-08-15 23:35:09 +01:00
d34bc78f11 Add module for minions 2019-08-15 23:34:53 +01:00
ed268e13f4 Set melpa unstable as primary package source 2019-08-12 11:19:48 +01:00
5dc0a5053f Rework package archive setup, preferring melpa-stable over melpa
Changed up package-archive setup again, this time we just hard-code all
the archive sources, rather than do fancy detection of if we can use
HTTPS or not.

Also we're throwing MELPA Stable into the mix, and giving it higher
priority than regular MELPA. The idea is to try to typically install
stable packages, but fall-back onto the regular MELPA source if there is
no stable version of it.

First impressions with a clean re-install of all packages is
promising. Time will tell if I have any issues.
2019-08-08 19:32:53 +01:00
6648b41d0a Update melpa setup code 2019-07-22 14:01:23 +01:00
b489372b57 Add modules for dart and flutter 2019-06-10 20:11:24 +01:00
cf30454641 Add module for writeroom-mode
It has issues with linum-mode, so currently linum-mode needs to be
manually disabled. I will make it automatically toggle linum-mode when
enabling/disabling writeroom-room at some point.
2019-06-03 16:55:21 +01:00
d0d284cecb Add ox-gfm package 2019-05-15 17:49:31 +01:00
c83d12a0d4 Refactor org-mode setup, adding ox-jira package 2019-05-15 16:46:10 +01:00
a65fc41b2c Add helm-lsp package 2019-04-29 13:22:49 +01:00
a4d5c15995 Break apart LSP setup into separate modules 2019-04-29 13:22:05 +01:00
2e6dd89003 Store all temporary stuff in a specific cache folder
Instead of using effectively TMPDIR on the machine, let's use a `cache`
folder in the root of the .emacs.d directory.
2019-03-25 17:17:32 +00:00
7de2aecd5f Add configuration for groovy-mode 2019-01-31 16:56:07 +00:00
3753943f9a Swap from custom siren-goto-symbol module to helm-imenu package 2019-01-28 11:36:05 +00:00
85affd51fd Switch from magithub to forge 2019-01-28 11:35:38 +00:00
ebe373aa19 Make recentf store more entries 2019-01-28 11:32:41 +00:00
61d17a20fc Add string-edit package 2019-01-28 11:32:15 +00:00
546008d593 Use helm-M-x instead of smex for C-x C-m keybinding
Since I mostly use C-x C-m instead of M-x, let's setup helm-M-x via my
preferred keybinding, leaving smex available for now vix M-x.
2018-12-20 03:48:02 +00:00
6ae24d30a7 Bind helm-find-files instead of ido-find-files to C-x C-f 2018-12-20 03:34:38 +00:00
d77b98c35b Customize sql-mode, adding sqlformat package 2018-12-20 00:52:58 +00:00
b79891ec7a Add lsp-mode package 2018-12-10 22:48:29 +00:00