1
0
Fork 0
Commit graph

126 commits

Author SHA1 Message Date
e26750e302 Set up space cycling
Remove newlines along with the rest of the whitespace.
2024-10-24 00:30:20 -07:00
2183877638 Remove keyboard shortcuts
I thought these might make my life easier and my shortcuts a little faster, but
they haven't.
2024-10-24 00:29:50 -07:00
bad4b6198b [oni-core] Ignore case while selecting completion candidates 2024-02-05 22:20:26 -08:00
b737250fe1 [oni-core] Remove requirement to load ‘oni-yaml’ for yaml-mode 2024-02-02 10:39:47 -08:00
3b26004f8b [oni-core] Remove requirement of oni-vterm when vterm gets loaded 2024-01-05 21:24:02 -08:00
9c1a5edb7b Remove requirement of oni-vc when vc package gets loaded
I've decided to do things another way. This will be managed by either
machine-specific configurations or Guix. I'm leaving the rest in place for now
and will replace as necessary.
2023-12-19 20:46:56 -08:00
62ec19f8dd Remove ‘ace-link’ settings
These have been moved to my Guix configuration.
2023-10-03 22:14:09 -07:00
4d9d04323e Change ace-link keybinding from ‘C-c C-o’ to ‘C-S-e’
I was trying to think of a good keybinding that I would like, and then I
remembered that kitty uses the ‘C-S-e’ keybinding and I've grown accustomed to
it.
2023-10-02 22:38:27 -07:00
e074e76f09 Add some more ace-link keybindings 2023-10-02 22:26:59 -07:00
e6a7b37ce4 [oni-core] Fix deprecated variable warning 2023-09-18 23:36:45 -07:00
655ce45b2f [oni-core] Set ‘safe-local-variable-directories’
This is a new variable in Emacs 30 that lets me specify which directories can be
trusted with local variable values. (Or it should be, I haven't seen it
available yet.)
2023-09-11 21:07:32 -07:00
e2a8115ba8 [oni-core] Add command to copy the guix build hash
This is convenient when I'm writing Guix packages.
2023-09-11 21:05:41 -07:00
120bf9048f [oni-core] Add hydra to launch certain applications 2023-09-11 21:04:34 -07:00
6698c28e49 [oni-core] Remove mini-frame mode
It's a nice way to display the minibuffer, but sometimes all the text I'm typing
in just disappears.
2023-08-14 14:53:31 -07:00
2225504a3f [oni-core] Enable so-long-mode for files with very long lines 2023-08-06 00:23:29 -07:00
96d0375ce6 [oni-core] Store clipboard contents into kill ring before replacing 2023-08-06 00:19:18 -07:00
867ec0200b [oni-core] Change the vertico keybindings to be a bit more ivy-like 2023-08-06 00:15:26 -07:00
d934aef413 [oni-core] Only show relevant commands for the current mode 2023-08-06 00:11:17 -07:00
e7acc034ee [oni-core] Make the minibuffer prompt intangible 2023-08-06 00:04:05 -07:00
4d525286b0 [oni-core] Add ‘orderless-initialism’ to ‘orderless-matching-styles’ 2023-08-05 23:58:20 -07:00
072934a99e [oni-core] Disable previews for ‘consult-bookmark’ 2023-07-26 00:35:49 -07:00
b64b381871 [oni-core] Remove unnecessary code
When Emacs is first started ‘treesit-extra-load-path’ is empty and any
‘(treesit-language-available-p ...)’ will return nil. But calling, for example,
‘bash-ts-mode’ will work if the package is installed in Guix and will fill the
variable.
2023-07-16 23:21:16 -07:00
6c97f13595 [oni-core] Add settings for tree-sitter
- Set the ‘treesit-extra-load-path’ to the value of ‘TREE_SITTER_GRAMMAR_PATH’.
  Emacs doesn't seem to do this automatically, but Guix sets that variable when
  grammars get installed.

- Add ‘bash-ts-mode’ to the ‘interpreter-mode-alist’. In his article[1] about
  tree sitter support in Emacs Mickey Petersen mentions that it's best to use
  ‘major-mode-remap-alist’, however in his example he remaps ‘bash-mode’ to
  ‘bash-ts-mode’, but there is no ‘bash-mode’. Setting the
  ‘interpreter-mode-alist’ like this still works.

[1]: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
2023-07-15 01:08:26 -07:00
dfc257cd8c [oni-core] Remove tips display from initial scratch message
This is now displayed on my Inkplate.
2023-07-08 00:39:38 -07:00
de5e5ff047 [oni-core] Enable ‘isearch-lazy-count’ to show matches 2023-07-06 16:48:57 -07:00
de53fb6f1c [oni-core] Add key to insert lambda 2023-06-15 23:34:57 -07:00
09615b953a [oni-core] Require ‘consult’ when byte-compiling ‘oni-core’
When everything is interpreted it all works fine because ‘consult’ is loaded
before the ‘with-eval-after-load’ part is run, but when byte compiling the byte
compiler doesn't know that ‘consult-customize’ is a macro unless ‘consult’ is
loaded, which it isn't when Guix compiles it.

When it's byte-compiled as if it's a function ‘consult-buffer’ is assumed to be
a variable that's passed in, so I'm guessing it's trying to dereference it first
before passing it on to a non-existent function? But of course ‘consult-buffer’
is only a function (Emacs Lisp is a Lisp-2 after all), so it fails, but only
when byte compiled (and even only when byte-compiled in a clean environment
where there are no packages loaded that aren't explicity said to be).

Hopefully this fixes my issue with being unable to switch buffers until I
explicitly load ‘consult’.
2023-05-25 15:29:42 -07:00
23ee5ed080 Revert "[oni-core] Call ‘consult-customize’ from the top-level"
This reverts commit 961651e575.

It works in an interactive session, but still fails while starting up. Probably
has to do with autoloads not having finished loading yet, perhaps?
2023-05-25 14:09:45 -07:00
961651e575 [oni-core] Call ‘consult-customize’ from the top-level
This macro seems to work fine when expanded at run-time even when ‘consult’
hasn't been loaded, but it doesn't work after it's been byte-compiled... Perhaps
putting it in the top-level will help. I'm wondering if somehow the byte
compiler closes over a reference to ‘consult-buffer’ during compilation that's
not available when it executes?
2023-05-25 13:49:01 -07:00
434a811056 [oni-core] Put the call to ‘consult-customize’ in separate function
I'm having some issues with my ‘consult-buffer’ setup and I'm hoping that
putting this in its own function will help me debug the issue, or at least show
me if this is part of the issue or not.
2023-05-24 23:57:26 -07:00
df67fdad8b [oni-core] Add window management keybindings
The various ‘M-<NUMBER>’ keybindings are all also bound to ‘C-<NUMBER>’, no need
to have both, and using ‘M-0’ is a lot easier than using ‘C-x 0’. This also
replaces the old keybindings with a message that tells me to use the new
keybindings instead to help me learn.
2023-05-24 23:54:50 -07:00
020f19fcbc [oni-core] Add keybinding to select which window to use as “other” 2023-05-24 23:51:09 -07:00
8eb16a8db6 [oni-core] Add mini-frame configuration 2023-04-16 00:30:50 -07:00
7e581611fb [oni-core] Add function to debug more hidden errors
https://gist.github.com/jdtsmith/1fbcacfe677d74bbe510aec80ac0050c
2023-04-15 20:45:15 -07:00
3c75681b25 [oni-core] Disable previews for ‘consult-buffer’ 2023-04-15 20:44:57 -07:00
aa2444374b Turn off autoloading oni-ivy
For some reason projectile loads ivy, which tries to load oni-ivy, which I don't
use at the moment.
2023-04-01 23:01:35 -07:00
6185c26d51 [oni-core] Fix related files function 2023-03-30 22:28:24 -07:00
af7ff9343a [oni-core] Fix function names 2023-03-20 22:28:06 -07:00
6ef9c0d59b [oni-coree] Silence native compilation warnings 2023-01-24 10:05:31 -08:00
5d7b20598b [oni-core] Sort keybindings, add ace window keybindingss 2023-01-24 10:04:39 -08:00
d0420ae5e3 [oni-core] Add related-files[1] to consult-buffer[2]
[1]: https://github.com/DamienCassou/related-files
[2]: https://github.com/minad/consult
2022-12-13 07:14:06 -08:00
5f7a6b8ddd Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the
command.

[1]: https://github.com/justbur/emacs-which-key
2022-12-13 07:11:36 -08:00
6793848975 [oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by
Andy Hunt[1]

[1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
2022-11-13 23:04:21 -08:00
fac5c04ce5 [oni-core] Remove duplicate entries from history 2022-11-13 16:58:38 -08:00
67c77bb277 [oni-core] Remove the dashboard package
I barely ever look at it.
2022-11-13 16:55:49 -08:00
8525e5e61c [oni-core] Remove agenda items from dashboard
I don't use the dashboard to see my tasks.
2022-11-08 23:30:12 -08:00
47593186ea [oni-core] Set some variables for the built-in ‘calendar’ package 2022-11-02 01:49:35 -07:00
d8158ea7ee Add oni-emms module 2022-08-17 14:50:25 -07:00
a10f099d32 [oni-core] Load notmuch config 2022-05-26 23:12:37 -07:00
a8f4ffec6a [oni-core] Put cygwin at the end of the exec-path list on Windows
There are some programs that live in both that and some other directories that
I've added on Windows. This makes sure that the cygwin ones don't overwrite
everything else, since usually I use different versions like MSYS2.
2022-03-01 23:54:18 -08:00