1
0
Fork 0
Commit graph

122 commits

Author SHA1 Message Date
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
e9f5cb9a3b Drop helpful
I’ve been using it for a while and I don’t actually like it much better than the
built-in help functionality.
2020-09-09 08:52:36 -07:00
2937d39792 Add gcmh - the Garbage Collection Magic Hack 2020-04-30 22:40:45 -07:00
84903e4425 Fix making scripts executable on save 2020-04-30 18:27:40 -07:00
3da3700fae Fix oni-core tests 2020-04-26 21:45:30 -07:00
18807d5461 Silence ‘recentf-save-list’
‘recentf-save-list’ sends a message that it’s saving the recentf list, but
seeing that after every time I don’t do something for 10 seconds in Emacs gets a
little annoying.
2020-04-26 15:31:23 -07:00
6e177aa3d3 Ensure idle timer for ‘recentf-save-list’ only gets created once 2020-04-07 21:30:12 -07:00
a709f502f8 Add navigation functions for end-of-line and beginning-of-line 2020-04-07 02:09:43 -07:00
bb231392df Add some settings that should improve performance for lsp-mode 2020-02-25 10:17:32 -08:00
1acb64f9c8 Enable recentf-mode in Emacs 2020-02-24 22:08:51 -08:00
a16cc328fe Don’t use ~/.authinfo for storing credentials 2020-02-03 22:03:13 -08:00
5fe2bca5cc Don’t show the default help tooltip on the mode-line 2020-01-10 22:46:54 -08:00
cd084ebd2a Use ‘ibuffer-jump’ instead of ‘ibuffer’
‘ibuffer-jump’ moves the point to be on the buffer that you jump from, ‘ibuffer’
doesn’t change point.
2019-12-10 22:11:10 -08:00
3ec966634b Allow ‘fit-window-to-buffer’ to resize windows horizontally 2019-09-19 17:40:16 -07:00
897028c275 Show both "*helpful" and "*Help" buffers in a side window 2019-09-19 17:39:42 -07:00
c201e368d6 Fix checkdoc warning 2019-09-18 11:09:58 -07:00
db0220de5c Add some layout management commands
After watching a YouTube video[1] on managing window layouts in Emacs I was
reminded of ‘winner-mode’ and introduced to the ‘ivy-push-view’ and
‘ivy-switch-view’ commands. As I feel like I frequently end up with setting up
and losing layouts, I think these may be useful.

[1]: https://www.youtube.com/watch?v=kyllrQiNsyA
2019-09-18 11:07:46 -07:00
730953ee53 Show help(ful) windows in side windows 2019-09-08 17:26:05 -07:00
bb29ee8a12 Change version format
In order to support my tablet which seems to have a lower maximum integer
value (I guess it’s 32-bit? I’m surprised) and can’t handle the version numbers
I was using before. It would turn them into floating point numbers, which adds a
~.0~, this made it impossible to install any package.

Any installations I have will need to reinstall all their oni packages so that
the new version number is picked up, since the new version number will be lower
than the old one.
2019-09-04 21:09:38 -07:00
77e25502a1 Add helpful package 2019-04-09 01:09:37 -07:00
87d03bef94 Ensure the auto-save directory exists
The auto-save functions don't automatically create it.
2019-03-30 12:10:25 -07:00
f2df84c819 Add goto-address-prog-mode to prog-mode 2019-03-04 23:54:16 -08:00
10eea127ed Add oni-grep 2019-03-04 01:14:14 -08:00
f68c5fd01e Add oni-core 2019-03-03 15:03:21 -08:00