aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
Commit message (Collapse)AuthorAgeFilesLines
* [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
* Give some keybindings (hopefully) more descriptive namesGravatar Tom Willemse2022-12-131-7/+7
| | | | | | | This style of keybinding helps ‘which-key’[1] to display a better name for the command. [1]: https://github.com/justbur/emacs-which-key
* [oni-core] Show a random tip in my initial scratch messageGravatar Tom Willemse2022-11-131-19/+20
| | | | | | | 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/
* [oni-core] Remove duplicate entries from historyGravatar Tom Willemse2022-11-131-1/+4
|
* [oni-core] Remove the dashboard packageGravatar Tom Willemse2022-11-131-24/+20
| | | | I barely ever look at it.
* [oni-core] Remove agenda items from dashboardGravatar Tom Willemse2022-11-081-1/+2
| | | | I don't use the dashboard to see my tasks.
* [oni-core] Set some variables for the built-in ↵Gravatar Tom Willemse2022-11-021-2/+8
| | | | ‘calendar’ package
* Add oni-emms moduleGravatar Tom Willemse2022-08-171-1/+2
|
* [oni-core] Load notmuch configGravatar Tom Willemse2022-05-261-1/+2
|
* [oni-core] Put cygwin at the end of the exec-path list ↵Gravatar Tom Willemse2022-03-011-3/+3
| | | | | | | | 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.
* [oni-core] Remove counsel (and ivy) and replace with verticoGravatar Tom Willemse2022-03-011-3/+47
| | | | | | | | This also brings in marginalia, orderless, consult, and embark. I've been reading about these projects for a while and after some looking around it seems like these are at the very least interesting, I'm trying it out for a while.
* [oni-core] Load the ‘generic-x’ libraryGravatar Tom Willemse2022-02-281-1/+2
| | | | | This library defines a few useful generic major modes like ‘etc-fstab-generic-mode’, and ‘java-properties-generic-mode’.