3b280e2d4c
chore(language/go): move custom tree-sitter query to golang module
...
Instead of keeping the custom Go specific tree-sitter query in the
tree-sitter module, move it the golang module.
2022-10-05 00:11:33 +01:00
0de0c4ca23
feat(text-editing): replace toggle-quotes with cycle-quotes package
...
It seems cycle-quotes does a better job than toggle-quotes. For example
it supports literal backtick strings in Go, which toggle-quotes does
not.
2022-07-20 22:02:12 +01:00
86464e80b1
feat(text-editing): add shift-number package
2022-07-20 22:02:12 +01:00
ab7d541148
feat(text-editing): add beginend package which improves M-< and M-> keybindings
2022-07-20 22:02:12 +01:00
ad2e2d2bab
feat(text-editing): add siren-insert module
...
Defines two functions for inserting en-dash and em-dash characters which
are typically difficult to type directly into Emacs.
2022-05-02 10:27:26 +01:00
881250f6c4
chore(core): add siren-dir and siren-cache-dir helper functions
2022-04-26 20:00:03 +01:00
d86f6c4490
feat(language): enable tree-sitter for most languages that are supported
2022-04-19 01:12:42 +01:00
d85671a44c
fix(text-editing): use wildcard in tempel-path
...
After an update to tempel, it seems tempel-path must point to a file, or
a wildcard matching one or more files.
2022-04-16 23:54:29 +01:00
6bada58d49
feat(snippets): add wip config for tempel to try it out
2022-03-14 21:16:15 +00:00
a8618938bf
feat(core): use general.el for keybind definitions nearly everywhere
...
Primarily this replaces :bind with :general in all use-package calls.
2022-03-14 21:16:15 +00:00
b742c9026f
feat(snippets): disable prog-mode snippets from yasnippet-snippets
...
The prog-mode snippets are very basic, a bit a annoying, as they
contain a couple of single-character snippets which conflict with common
variable names in Go.
2022-03-14 11:58:47 +00:00
92c16d4dcb
feat(language/go): use tree-sitter-mode and tree-sitter-hl-mode
2022-03-10 21:11:26 +00:00
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