1
0
Fork 0
Commit graph

73 commits

Author SHA1 Message Date
04bc3f3b7e [oni-core] Go to the end of the line if a comment isn't found 2022-02-24 01:55:05 -08:00
ace4d24a7e [oni-core] Turn on ‘savehist-mode’ and ‘save-place-mode’ 2022-02-24 01:54:34 -08:00
0b640ec28e [oni-core] Replace ‘(upcase|downcase|capitalize)-word’ with dwim
The “Do What I Mean” variants will either work on a region or a word, not just a
word.
2022-02-08 09:44:59 -08:00
a62f26073d [oni-core] Disable the ‘C-x o’ keybinding
I'm so used to using it that I keep forgetting to use ‘M-o’ for ‘ace-window’
instead. By disabling this keybinding I can train myself to use ‘ace-window’.
2022-01-06 09:16:47 -08:00
b08344eb0a Add ‘ace-window’ dependency and keybind 2021-12-07 20:48:18 -08:00
cfa0179053 Remove all self-loading autoload cookies
The big downside of usuing these cookies to inject my configuration into the
loading of a package is that it means that I can't load that package without my
configuration anymore. This means that when I start ‘emacs -Q’ and then call
‘package-initialize’ it'll load my configuration as well. This makes debugging
things very difficult.
2021-11-23 00:38:09 -08:00
3247273c69 [oni-core] Don't fail when either ‘oni-c’ or ‘oni-cpp’ doesn't load
Either or neither can be installed when ‘cc-mode’ is loaded, but it shouldn't be
an error when one isn't.
2021-11-16 20:28:56 -08:00
b3965ea473 [oni-core] Add settings for spell checking
- Inhibit the use of the ’ character in case a ' should be used so that spell
  checking programs don't get confused.

- Explicitly use the ‘hunspell’ program to perform spell checking.
2021-11-10 21:32:14 -08:00
1a84c02517
[oni-diff-hl] Remove autoload cookie, load from ‘oni-core’ 2021-09-21 23:29:06 -07:00
8ae902ac62
[oni-css] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:28:32 -07:00
cfd9384374
[oni-csharp] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:18:47 -07:00
3568fc8d05
[oni-cpp] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:06:46 -07:00
bede6c21cf
[oni-counsel] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:41:08 -07:00
54859fa9a8
[oni-conf] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:22:09 -07:00
0e83518572
[oni-compilation] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:07:55 -07:00
574284ca78
[oni-core] Add ‘mixed-pitch’ mode to Info 2021-09-16 09:00:05 -07:00
4e3f94b134
[oni-core] Start the week on Monday 2021-08-23 21:45:41 -07:00
ddd2d044ac
[oni-core] Only enable yas-global-mode if everything is installed 2021-08-12 22:02:17 -07:00
7f8da57f4d
[oni-core] Require ‘package’ to use ‘package-installed-p’ 2021-08-07 19:53:41 -07:00
a352d0983a
[oni-cmake] Move autoload to ‘oni-core’ 2021-07-30 23:13:18 -07:00
146f5cfcca
Move loading for ‘oni-clojure’ and required packages into ‘oni-core’ 2021-07-27 21:06:46 -07:00
3b65ae5748
[oni-core] Enable ‘yas-global-mode’ if ‘oni-yasnippet’ is installed 2021-07-27 20:40:03 -07:00
79a2ec9b8a
[oni-browse-url] Move autoload into ‘oni-core’
Because these configurations might now be installed through a package manager
they should be loaded through my “core” configuration.
2021-07-27 20:28:54 -07:00
8d09d01564
[oni-core] Move enabling of modes to after setting up auto loads
This way I can be sure that any files that need to get loaded when these get
enabled will be loaded.
2021-07-26 21:30:24 -07:00
8d5b37a12d
[oni-core] Add code to load all of the other configuration files
Well, all of those that I’ve updated to require loading.
2021-07-26 21:27:15 -07:00
113bed7218 [oni-core] Add a line to the dashboard footer messages 2021-07-24 00:50:40 -07:00
1d7ac0e410
Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
19e9e78981 [oni-core] Update messages in the dashboard
These are some of the messages from “Pragmating Thinking & Learning”
2021-07-08 02:27:40 -07:00
0befa1ec7c [oni-core] Add keybinding for `imenu' 2021-07-05 23:33:32 -07:00
7ac2b35a33 [oni-core] Add Login keyring and remove ‘.netrc’ auth sources 2021-07-01 18:00:13 -07:00
6a96253979 [oni-core] Don’t try to automatically load 2021-06-21 23:46:45 -07:00
a7bf05b48c [oni-core] Ensure that ‘initial-buffer-choice’ gets a live buffer 2021-06-21 23:39:58 -07:00
43eecedd1a [oni-core] Require ‘auth-source’ 2021-06-21 23:36:20 -07:00
e6ea0611ee [oni-core] Add dashboard 2021-06-21 23:03:56 -07:00
fda64e525e [oni-core] Add a function that does the reverse of ‘fill-paragraph’
This was taken from Bastien Guerry’s Emacs configuration:
https://github.com/bzg/dotemacs
2021-04-25 17:57:46 -07:00
1e974046c5 [oni-core] Use ‘org-mode’ for the initial scratch buffer 2021-04-25 17:53:21 -07:00
cd8565d9bd [oni-core] Enable ‘auto-insert-mode’ 2021-04-25 17:50:22 -07:00
ef2c729039 [oni-core] Use Gnus to read mail 2021-04-25 17:42:36 -07:00
869c3073b3 Add ‘insert-char-preview’
This package exposes a function ‘insert-char-preview’ that does the same thing
as ‘insert-char’ except that it shows a preview of the character in the
completion.
2021-02-27 15:41:20 -08:00
feec611d17 Add sort paragraph Hydra option 2021-02-27 15:37:09 -08:00
863222af0d Add a hydra to sort lines and strings 2021-01-31 21:59:47 -08:00
c7603f21d3 Diminish ‘which-key-mode’ 2020-12-18 00:07:13 -08:00
f3aef98455 Properly diminish ‘gcmh-mode’ and ‘ws-butler-mode’
When these packages get updated they get reloaded. This undoes what ‘diminish’
did, so we have to keep doing it whenever they get reloaded.
2020-12-18 00:05:25 -08:00
996f29b49b Remove ‘composable-mode’
I liked the idea, but the implementatino was too flakey and didn’t actually let
me do what I wanted to do. The biggest issue was that ‘comment-dwim’ didn’t work
anymore and it got easily confused and screwed up the colors for my mode-line.
2020-12-18 00:03:20 -08:00
d4d4c75d62 Add which-key mode 2020-12-02 19:06:58 -08:00
d6f0b92c9f Add composable.el 2020-11-13 09:39:53 -08:00
05cdbd0fb2 Add ‘embrace’ configuration 2020-10-30 18:23:10 -07:00
fe91d0a506 Add windmove keybindings 2020-10-19 13:48:09 -07:00
a49fda9c79 Use ws-butler
At work I have to work with a lot of files that other people work on as well.
Other people don’t usually have their editor set up to remove all trailing
whitespace, and we’re not allowed to make a change that includes a lot of extra
whitespace changes[1]. So I end up having to revert a lot of whitespace changes
just before submitting. And if I then have to make more changes, for example
because something was pointed out in a code review, I have to do it again.

‘ws-butler’ promises that it will still prevent me from submitting extraneous
whitespace, but will not touch lines that I haven’t changed, so that would
prevent me from having to revert them all the time.

[1]: This is good, having a lot of whitespace changes can distract from or even
completely hide the actual change you’re trying to make.
2020-10-15 14:25:18 -07:00
b041947902 Diminish gcmh-mode 2020-10-15 14:25:18 -07:00