Commit Graph

1067 Commits

Author SHA1 Message Date
c69dec37bc fix(navigation): Improve helm-apropos usage
- Assign `helm-apropos` to `<helm-prefix> d` instead of the default
  `<helm-prefix> a`, as that is now taken up by `helm-do-ag`.
- Use the `helpful` package to describe functions and variables.
2020-05-10 21:26:12 +01:00
decc1c58c1 fix(navigation): Improve helm-ag keybindings
Have both `C-c C-'` and `C-c '` bound to `helm-do-ag-project-root`, so
it can be triggered from a terminal. As `C-'` cannot be sent to emacs
due to limitations of terminal emulators.

Also move `helm-do-ag` from `C-c C-s` to `<helm-prefix> a`, now that the
`helm-command-map` can reliably be used. This effectively means you
trigger `helm-do-ag` with `C-c h a` right now.
2020-05-10 21:26:06 +01:00
cb16ffe993 fix(navigation): Lazy-load helm without breaking keybindings
This involved always loading `helm-config` which sets up
`helm-command-prefix` and `helm-command-map` allowing use-package to set
bindings on the map all without loading anything else until needed.
2020-05-10 21:23:37 +01:00
c03ac1619d chore(release): 0.6.1 v0.6.1 2020-05-07 19:53:26 +01:00
889da809e0 fix(tools): Ensure helm-make package keybinding works
This is a temporary fix for now, as I prefer lazy-loading packages
whenever possible. However when lazy-loading helm, and then using
use-package to set a keybinding in the helm-command-map before it's
loaded, causes the "m" keybinding to be overridden by the default one
from helm, once helm loads.
2020-05-07 19:51:04 +01:00
1d04474ab0 feat(dired): Add dired-subtree and dired-narrow packages
- dired-subtree allows inline expansion of directories, effectively
  rendering a tree of directories and files.
- dired-narrow enables lives filtering of all entries in a dired buffer,
  making searching for and selecting directories and files much easier
  and intuitive.
2020-05-07 19:21:46 +01:00
c458d8ef2f feat(dired): Customize dired+ faces to match doom-themes
Also ensure dired+ is always loaded, as lazy-loading it seems to cause
the first dired buffer to not use dired+ plus, but all others afterwards
do.
2020-05-07 19:20:21 +01:00
42b1725634 docs(readme): Fix typo in org metadata of footer image 2020-05-07 19:14:54 +01:00
974a2b86ed refactor(text-editing): Improve string-inflection package setup 2020-05-07 19:14:28 +01:00
801d6f133a feat(navigation): Improve narrowing with recursive-narrow package
Additionally allow `recursive-narrow-or-widen-dwin` to also trigger
`org-edit-src-code` within org buffers. This technically does not use
narrowing, but it does "focus" on the source code block for editing, so
it at least in spirit embodies the intent of narrowing.

This behavior was inspired by:
https://endlessparentheses.com/emacs-narrow-or-widen-dwim.html
2020-05-07 19:11:05 +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
34c130ae7e chore(navigation): Use custom fork of helm-ag
There's a few outstanding PRs and issues on helm-ag. I've collected the
changes I care about into my own fork under a branch called
`personal-patches`, and using that for now.
2020-05-06 23:32:28 +01:00
4869796d6f feat(navigation): Use ripgrep instead of the_silver_searcher in helm-ag 2020-05-06 23:08:23 +01:00
9ff0a994d3 chore(makefile): Fix typo in error message 2020-05-05 00:10:24 +01:00
bfd4203ffa chore(release): 0.6.0 v0.6.0 2020-05-04 21:23:49 +01:00
86d344f671 chore: Add support for standard-version to cutting new versions 2020-05-04 21:23:00 +01:00
5abaffd9fe Merge pull request #8 from jimeh/emacs-27 2020-05-04 21:15:23 +01:00
3ff8e1e91a chore(packages): Update straight.el's lock file 2020-05-04 20:15:44 +01:00
950010ec68 chore(writing): Make writeroom view wide enough to fit line numbers 2020-05-04 20:14:23 +01:00
92bc4af0fc fix(lang): Remove stray invalid character causing semi-random issues 2020-05-04 20:14:22 +01:00
7eff53ce17 chore(lang): Load nginx-mode 2020-05-04 09:09:56 +01:00
121cbfd9ce chore(editor): Don't display persp name in modeline 2020-05-04 09:09:56 +01:00
48ad5c8993 chore(lang): Remove flycheck-golangci-lint package, lsp handles linting 2020-04-26 22:26:43 +01:00
9efa5e54e9 fix(helm): Do not defer helm-make package to ensure keybinding works 2020-04-26 22:26:11 +01:00
54a9f62bbb chore(lang): Mark conf-mode as a built-in package for straight.el 2020-04-19 20:19:54 +01:00
f66d246337 feat(lang): Add nginx-mode and company-nginx packages 2020-04-19 20:18:54 +01:00
98f2dc0763 chore(navigation): Customize dired for GNU-based operating systems 2020-04-16 12:51:38 +01:00
e90ea7d4bf chore(editor): Change GUI font used in Linux to Menlo for Powerline 2020-04-09 13:57:21 +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