Commit Graph

608 Commits

Author SHA1 Message Date
654eae72ff chore(editor): extract recentf, savehist and uniquify to seperate modules 2021-06-24 19:16:16 +01:00
b53cef4d30 fix(navigation): make helm play nicer with treemacs when helm-posframe is enabled
When helm-posframe is enabled, there's no need to to hide treemacs or
neotree before showing helm.
2021-06-22 02:08:52 +01:00
688b14a775 fix(navigation): workaround dired+ incompatibility with dired in master branch
Commit 194d54a929a83fede75d618b104acd1b544feb10 changed behavior of
deletion functions in Dired, causing Dired+ to break deletion, as it
wholesale replaces a bunch of Dired functions with it's own
implementation. For now I've just copied the Dired variants of those
functions to restore them.
2021-06-21 03:51:16 +01:00
2d98386d24 chore: fix whitespace 2021-06-20 02:47:59 +01:00
ee895054fd fix(editor): ensure selectrum current item always highlights full line 2021-06-20 01:27:15 +01:00
07b0013c75 feat(editor): add config for vertico + orderless as a alternative to selectrum
I still prefer selectrum for the time being, but I've written the
config, might as well commit it for potential future use or
experimentation.
2021-06-20 01:27:15 +01:00
d7c90818f1 chore(version-control): remove defunct comment
The fringe bitmaps are no longer based on those from doom-emacs, they're
custom and super simple.
2021-06-19 19:47:48 +01:00
b647d6447b fix(nativation): make consult-buffer (C-x b) work before projectile is loaded 2021-06-19 19:45:55 +01:00
689dc6a1e4 fix(editor): improve filtering performance of M-x when marginalia is active
The default 'marginalia-annotate-command annotation method for M-x
candidates has a small but perceivable performance impact as you
type. The 'marginalia-annotate-binding method does not have any
perceivable performance impact.

Also I only really care about seeing keybindings in the M-x list, I can
definitely live without command descriptions.
2021-06-19 19:42:22 +01:00
d90e559047 feat(navigation): enabled hl-line-mode in dired 2021-06-17 20:54:46 +01:00
4b228ae317 chore(lang): tweak company-mode idle-delay for Go 2021-06-17 20:49:26 +01:00
6a690be6ee chore(linting): reduce idly delay of flycheck 2021-06-17 20:26:51 +01:00
f2614ab89b chore(navigation): place ivy related keybinding within ivy module 2021-06-17 20:26:23 +01:00
27a7c5cb20 chore(deps): update xwidget-plus which is now named xwwp 2021-06-17 20:25:27 +01:00
49cef56c82 feat(editor): add embark
This is a basic setup, as I'm not very familiar with what is doable with
embark. It also takes over the goto-chg keybindings, cause that package
rarely worked correctly, so I almost never used it.
2021-06-17 20:25:26 +01:00
354ed23d21 feat(navigation): add consult 2021-06-17 20:19:26 +01:00
5878449963 feat(navigation): add ctrlf-mode, a isearch replacement 2021-06-17 20:18:09 +01:00
63b5441deb feat(navigation): use helm-posframe 2021-06-17 20:16:52 +01:00
93c22e1bb9 feat(editor): replace ido and amx with selectrum, prescient and marginalia 2021-06-17 20:13:57 +01:00
38544ef7f2 feat(lang): improve yaml formatting and enable lsp-mode 2021-06-14 10:29:02 +01:00
263400c4c1 fix(editor): disable undo-tree in terminal buffers 2021-05-24 19:11:12 +01:00
a07cc6746f feat(formatting): swap from prettier.js to lsp-mode to format js/json 2021-05-22 14:36:16 +01:00
b772a6a61d chore(formatting): expand reformatter macro on first use rather than init 2021-05-22 14:34:18 +01:00
c8196d7590 fix(version-control): set correct diff-hl mode after desktop-read
The state of using diff-hl using the margin or fringe ends up within
desktop-mode save files, so let's force set diff-hl to use margin or
fringe based on if we have a window-system or not, both after diff-hl is
loaded, and also as a desktop-after-read hook.
2021-05-15 18:22:15 +01:00
d3326fd1f2 chore(workspaces): minor tweaks to desktop-mode config 2021-05-15 01:03:48 +01:00
f20ebd3f1e fix(workspaces): set base desktop base dir correctly
And also filter out any items which are not directories from the desktop
selection list.
2021-05-15 01:02:25 +01:00
e434e41d97 feat(version-control): improve styling of diff-hl indicators 2021-05-15 01:00:27 +01:00
f50e2d925e feat(linting): simplify warning arrow glyph used by flycheck 2021-05-15 00:59:39 +01:00
0ef8ea787f feat(lang): enable lsp-mode in lua-mode 2021-05-10 11:05:13 +01:00
fc0e0acd65 feat(navigation): improve list of files searched by helm-ag via ripgrep 2021-05-08 22:10:25 +01:00
b7d914c51e feat(formatting): use whitespace-clean-mode
This should offer a more reliable means of running `whitespace-cleanup`
on buffer save than whitespace-mode's whitespace-action setting. Also it
allows for easily toggling whitespace clean up off by disabling
whitespace-clean-mode.
2021-04-25 22:44:26 +01:00
cacb7d2fe9 feat(org): enable left/right shift keybinds which are available everywhere else 2021-04-20 01:32:11 +01:00
c5ffefdb97 feat(lsp): enable lsp-semantic-tokens
This only works with language servers that support semantic tokens. If
the language server does not support it, this setting has no effect.
2021-04-20 01:32:11 +01:00
c8187b4be8 feat(org): expand and tweak org-src and org-babel setup 2021-04-20 01:32:11 +01:00
1fade1ab4d feat(lang): ensure markdown formatting respects local fill-column width
Previously prettier would always format markdown files to 80 character
long lines. Now it reads the character width from the fill-column
variable in such a way that fill-column can be set with dir-local
variables.
2021-04-16 12:37:11 +01:00
bcfbc23a15 chore(version-control): add ~/.config/emacs-siren to magit repo dirs 2021-04-15 11:01:02 +01:00
04daa19768 chore(version-control): remove unnecessary require of magit 2021-04-15 10:59:33 +01:00
cb2fda4eba chore(deps): don't load polymode as it's not actually used by anything 2021-04-15 10:55:34 +01:00
2d39ce9fc1 feat(shell): improve vterm setup making vterm-copy-mode easier to use 2021-04-12 10:14:00 +01:00
8728d5da9e fix(lang): control Ruby formatting method on a per-project basis
Allow individual projects to override the default lsp-mode based
formatting method by setting rubocopfmt-on-save-use-lsp-format-buffer as
a dir-local variable.

This is useful for projects which require older versions of Ruby where
the latest Solargraph version is not supported, and formatting is better
handled by rubocop directly.
2021-04-12 10:05:22 +01:00
397b7edb20 fix(shell): windmove keybindings within vterm-mode 2021-04-08 10:37:19 +01:00
fd0e04ac02 chore(version-control): unpin diff-hl as recent performance issue has been fixed 2021-04-08 00:00:57 +01:00
b7b21c5e13 chore(formatting): move formatting related modules to a dedicated formatting directory 2021-04-07 23:50:11 +01:00
349f007fe9 feat(shell): add xterm-color package to colorize compilation buffers
Some commands which output to compilation buffers did not get their
output colorized correctly by default. This ensures that terminal based
escape sequences are correctly handled.
2021-04-07 23:50:11 +01:00
5f4aa98abd feat(theme): improve doom-themes overrides by using a proper theme
Instead of manually just setting faces after loading a doom-themes
theme, let's use a custom override theme which we apply right after
applying any doom-themes theme.

The override theme uses various doom-color helpers, so the colors it
uses will be based on the most recently applied doom-themes theme.
2021-04-07 23:50:11 +01:00
4e50263ded chore(lang): minor tweaks to ruby setup 2021-04-07 23:50:11 +01:00
f374dc4eab feat(lang): add rufo package for Ruby
As I'm not convinced formatting with rufo is good idea yet, this is
simply so I can play with it when I want to. It is not configured to
automatically format files on save.
2021-04-07 23:50:11 +01:00
7de79dd704 fix(formatting): specify parser for prettier-js to avoid errors
Some buffers which use markdown-mode or yaml mode yield errors when
using the prettier-js package to format them, as it looks at the file
extension by default to figure out what parser to use.

Some temporary files that use these modes don't have the correct file
extension, so prettier-js yields an error. My manually specifying the
correct "--parser" option for each major-mode, this is no longer an
issue.
2021-04-07 22:49:58 +01:00
dc24cd4f7f feat(lsp): create and use on-save minor modes for lsp-format-buffer and lsp-organize-imports commands 2021-04-07 22:45:59 +01:00
2d3c1b241c chore(lang): tweak ruby-mode format on save setup to use lsp-mode directly
Instead of executing lsp-format-buffer on save via the rubocopfmt
package, simply set it up as a buffer-local before-save-hook.

Also simplify the rubocopfmt package configuration, as I rarely use it
anymore, but would still want to be able to manually execute rubocopfmt.
2021-04-02 11:32:50 +01:00