aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
Commit message (Collapse)AuthorAgeFilesLines
* oni-core: Add functions to inc-/decrement number at pointGravatar Tom Willemse2025-07-281-1/+21
|
* oni-core: Recursively list project directories that are safeGravatar Tom Willemse2025-07-071-4/+11
| | | | | | | | | | These are all project directories that are written by me, either for personal projects or work. None of these should have any dangerous directory local settings. The ‘foreign’ directory is where I keep other people's code that I've either forked for making contributions or for reading the source code. These I may or may not be able to trust.
* oni-core: Add color to the unique part of a buffer nameGravatar Tom Willemse2025-07-071-0/+13
| | | | | | | | This only applies to buffer lists like ‘switch-buffer’, ‘ibuffer’, and the like, not to the mode-line. This should help make it easier to distinguish which parts are special when more than one buffer with the same name is open.
* oni-core: Fix location of codeGravatar Tom Willemse2025-07-071-2/+2
| | | | This is the new location for all of my code projects.
* oni-core: Fix some require expressionsGravatar Tom Willemse2025-02-141-4/+4
|
* oni-core: Bring back requiresGravatar Tom Willemse2025-02-131-1/+76
| | | | But this time don't throw an error if the settings can't be loaded.
* oni-core: Remove all require callsGravatar Tom Willemse2025-02-111-76/+1
| | | | | | This isn't how I configure my system anymore, and it's been getting in my way for ages. Makes any system that I haven't installed my configuration for completely unusable.
* oni-core: Replace package definition with updated hashGravatar Tom Willemse2025-01-301-9/+22
|
* oni-core: Remove buffer position from mode-lineGravatar Tom Willemsen2025-01-021-1/+5
|
* Set up space cyclingGravatar Tom Willemse2024-10-241-1/+7
| | | | Remove newlines along with the rest of the whitespace.
* Remove keyboard shortcutsGravatar Tom Willemse2024-10-241-18/+1
| | | | | I thought these might make my life easier and my shortcuts a little faster, but they haven't.
* [oni-core] Ignore case while selecting completion candidatesGravatar Tom Willemse2024-02-051-1/+4
|
* [oni-core] Remove requirement to load ‘oni-yaml’ for ↵Gravatar Tom Willemse2024-02-021-2/+1
| | | | yaml-mode
* [oni-core] Remove requirement of oni-vterm when vterm ↵Gravatar Tom Willemse2024-01-051-2/+1
| | | | gets loaded
* Remove requirement of oni-vc when vc package gets loadedGravatar Tom Willemse2023-12-191-2/+1
| | | | | | 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.
* Remove ‘ace-link’ settingsGravatar Tom Willemse2023-10-031-7/+1
| | | | These have been moved to my Guix configuration.
* Change ace-link keybinding from ‘C-c C-o’ to ‘C-S-e’Gravatar Tom Willemse2023-10-021-2/+2
| | | | | | 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.
* Add some more ace-link keybindingsGravatar Tom Willemse2023-10-021-1/+7
|
* [oni-core] Fix deprecated variable warningGravatar Tom Willemse2023-09-181-2/+2
|
* [oni-core] Set ‘safe-local-variable-directories’Gravatar Tom Willemse2023-09-111-1/+7
| | | | | | 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.)
* [oni-core] Add command to copy the guix build hashGravatar Tom Willemse2023-09-111-0/+12
| | | | This is convenient when I'm writing Guix packages.
* [oni-core] Add hydra to launch certain applicationsGravatar Tom Willemse2023-09-111-0/+10
|
* [oni-core] Remove mini-frame modeGravatar Tom Willemse2023-08-141-12/+1
| | | | | It's a nice way to display the minibuffer, but sometimes all the text I'm typing in just disappears.
* [oni-core] Enable so-long-mode for files with very long ↵Gravatar Tom Willemse2023-08-061-1/+3
| | | | lines
* [oni-core] Store clipboard contents into kill ring ↵Gravatar Tom Willemse2023-08-061-1/+4
| | | | before replacing
* [oni-core] Change the vertico keybindings to be a bit ↵Gravatar Tom Willemse2023-08-061-1/+5
| | | | more ivy-like
* [oni-core] Only show relevant commands for the current modeGravatar Tom Willemse2023-08-061-1/+3
|
* [oni-core] Make the minibuffer prompt intangibleGravatar Tom Willemse2023-08-061-2/+9
|
* [oni-core] Add ‘orderless-initialism’ to ↵Gravatar Tom Willemse2023-08-051-1/+4
| | | | ‘orderless-matching-styles’
* [oni-core] Disable previews for ‘consult-bookmark’Gravatar Tom Willemse2023-07-261-2/+2
|
* [oni-core] Remove unnecessary codeGravatar Tom Willemse2023-07-161-2/+1
| | | | | | | 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.
* [oni-core] Add settings for tree-sitterGravatar Tom Willemse2023-07-151-1/+7
| | | | | | | | | | | | | | - 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
* [oni-core] Remove tips display from initial scratch messageGravatar Tom Willemse2023-07-081-21/+1
| | | | This is now displayed on my Inkplate.
* [oni-core] Enable ‘isearch-lazy-count’ to show matchesGravatar Tom Willemse2023-07-061-1/+6
|
* [oni-core] Add key to insert lambdaGravatar Tom Willemse2023-06-151-1/+3
|
* [oni-core] Require ‘consult’ when byte-compiling ↵Gravatar Tom Willemse2023-05-251-4/+4
| | | | | | | | | | | | | | | | | | | ‘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’.
* Revert "[oni-core] Call ‘consult-customize’ from the ↵Gravatar Tom Willemse2023-05-251-6/+6
| | | | | | | | | top-level" This reverts commit 961651e5752f9037e4c52f5130fd42f9c9874b26. It works in an interactive session, but still fails while starting up. Probably has to do with autoloads not having finished loading yet, perhaps?
* [oni-core] Call ‘consult-customize’ from the top-levelGravatar Tom Willemse2023-05-251-6/+6
| | | | | | | | 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?
* [oni-core] Put the call to ‘consult-customize’ in ↵Gravatar Tom Willemse2023-05-241-2/+5
| | | | | | | | 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.
* [oni-core] Add window management keybindingsGravatar Tom Willemse2023-05-241-1/+18
| | | | | | | 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.
* [oni-core] Add keybinding to select which window to use ↵Gravatar Tom Willemse2023-05-241-0/+6
| | | | as “other”
* [oni-core] Add mini-frame configurationGravatar Tom Willemse2023-04-161-2/+13
|
* [oni-core] Add function to debug more hidden errorsGravatar Tom Willemse2023-04-151-1/+23
| | | | https://gist.github.com/jdtsmith/1fbcacfe677d74bbe510aec80ac0050c
* [oni-core] Disable previews for ‘consult-buffer’Gravatar Tom Willemse2023-04-151-1/+3
|
* Turn off autoloading oni-ivyGravatar Tom Willemse2023-04-011-2/+2
| | | | | For some reason projectile loads ivy, which tries to load oni-ivy, which I don't use at the moment.
* [oni-core] Fix related files functionGravatar Tom Willemse2023-03-301-2/+2
|
* [oni-core] Fix function namesGravatar Tom Willemse2023-03-201-3/+3
|
* [oni-coree] Silence native compilation warningsGravatar Tom Willemse2023-01-241-1/+5
|
* [oni-core] Sort keybindings, add ace window keybindingssGravatar Tom Willemse2023-01-241-6/+8
|
* [oni-core] Add related-files[1] to consult-buffer[2]Gravatar Tom Willemse2022-12-131-1/+23
| | | | | [1]: https://github.com/DamienCassou/related-files [2]: https://github.com/minad/consult