Commit Graph

26 Commits

Author SHA1 Message Date
b7b21c5e13 chore(formatting): move formatting related modules to a dedicated formatting directory 2021-04-07 23:50:11 +01:00
affbe2e113 fix(text-editing): correctly load custom snippets on emacs startup 2021-02-27 23:30:05 +00:00
395ad7ccac fix(startup): correctly setup deferred loading for various packages
This just ensures that various packages that can defer loading actually
does defer until they're first used.
2021-02-17 01:52:59 +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
345584e52c chore(text-editing): update move-dup package to v2.x
Version 2 seems to mostly just change the `md-` function/variable prefix
to be `move-dup-`.
2021-02-17 01:52:58 +00:00
11ac1a822c fix(text-editing): enable yasnippet via global mode
Enabling it via a prog-mode-hook doesn't seem to work for some
major-modes.
2020-10-27 13:08:53 +00:00
374103bc25 chore(text-editing): minor tweak and cleanup of yasnippet setup 2020-09-10 20:24:18 +01:00
be39020c64 feat(text-editing): Add reformatter package
And override `reformatter-replace-buffer-contents-from-file` with a less
intrusive variant based on how go-mode's `gofmt` command updates buffer
with formatted content.
2020-05-24 00:13:17 +01:00
974a2b86ed refactor(text-editing): Improve string-inflection package setup 2020-05-07 19:14:28 +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
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
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
d557d47dc0 chore(init): Use emacs-startup-hook instead of after-init-hook 2020-02-15 17:58:53 +00:00
b13ca362cb feat(packages): Replace package.el with straight.el 2020-02-04 10:08:37 +00:00
702d2989dd Use smart-shift package for indenting and undenting 2019-12-10 15:22:42 +00:00
39d75c803a Update keybindings in unused siren-smart-shift module
This is to ensure it stay up to date with the siren-shift-text module,
which is currently the module I use for shifting text left/right. At
some point I will re-evaluate the smart-shift package.
2019-09-10 16:59:56 +01:00
384136d95d Add module for ialign 2019-08-16 16:28:47 +01:00
308d530197 Reconfigure smartparens after some changes to its default keybindings 2019-06-16 15:58:08 +01:00
57f670088d Use use-package's :custom and :custom-face options everywhere 2019-06-10 19:29:58 +01:00
3dd5215584 Update siren-move-dup module to avoid deprecation warnings 2019-06-03 16:54:47 +01:00
986025f473 Unset M-[ keybinding as it causes issues with pasting in terminal 2019-04-11 12:39:12 +01:00
61d17a20fc Add string-edit package 2019-01-28 11:32:15 +00:00
1080cd9a5f Update string-inflection keybindings 2019-01-28 11:29:46 +00:00
d218da5083 Fix mouse input issue in terminal mode caused by smart-shift
Replace the smart-shift package with functions ripped from textmate.el
2018-07-10 12:00:21 +01:00
87a86191db Majorly re-organize modules
- Split large modules into smaller parts (e.g. siren-text-manipulation)
- Organize modules into high level groups:
  - completion
  - core
  - editor
  - languages
  - linting
  - misc
  - navigation
  - projects
  - spelling
  - text-editing
  - version-control
  - windows
  - workspaces
2018-05-20 17:31:11 +01:00