1
0
Fork 0
Commit graph

981 commits

Author SHA1 Message Date
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
3b29e9799f [oni-core] Remove counsel (and ivy) and replace with vertico
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.
2022-03-01 23:52:56 -08:00
90e9eb03dc [oni-browse-url] Add ‘itnext.io’ as a Medium url 2022-02-28 10:35:39 -08:00
205cbf516a [oni-lsp] Use a posframe to show a function signature
Instead of the minibuffer.
2022-02-28 01:38:42 -08:00
7cd5486028 [oni-lsp] Remove non-existent variable 2022-02-28 01:37:10 -08:00
76bffd107c [oni-org] Enable ‘org-agenda-log-mode’ by default in Org agendas
This will show when I've marked items as done and when I've logged time on tasks.
2022-02-28 00:59:06 -08:00
946cb1a3fd [oni-core] Load the ‘generic-x’ library
This library defines a few useful generic major modes like
‘etc-fstab-generic-mode’, and ‘java-properties-generic-mode’.
2022-02-28 00:57:24 -08:00
3131d48a86 [oni-vc] Fix function name 2022-02-24 15:00:03 -08:00
5155b14a08 [oni-core] Bump version 2022-02-24 01:56:18 -08:00
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
7980f4dd28 [oni-vc] Automatically check out files for Perforce
When I start typing, automatically check out the file that I'm working with.
2022-02-23 00:14:49 -08:00
9a979dac06 [oni-browse-url] Add redirect for instagram 2022-02-23 00:14:12 -08:00
d513eb84c4 [oni-gnus] Increase the space for a mail's size
I seem to get large emails occasionally.
2022-02-16 01:02:45 -08:00
f78a8b1a4e [oni-gnus] Make point always move to the ‘:’ after the size 2022-02-16 01:02:06 -08:00
13e7e8767f [oni-browse-url] Add some redirections to scribe and yewtube 2022-02-16 01:01:19 -08:00
055240f3db [oni-org] Icrease the duration of a single Pomodoro
I've been experimenting with using 25 minutes instead of 20 for each Pomodoro.
2022-02-08 09:47:49 -08:00
5a15eacc0d [oni-org] Specify some more properties on the capture frame
The name helps to specify in the window manager that it shouldn't be tiled, and
the width and height are just stylistic choices.
2022-02-08 09:46:59 -08:00
e22b5a5626 [oni-counsel] Add some functions to interact with the OS 2022-02-08 09:46:19 -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
dcf277a644 [oni-browse-url] Add advice to ‘browse-url’ to redirect some URLs
There are a couple of free alternative front-ends to certain services:

- Scribe for Medium.

- Nitter for Twitter.

- Invidious for Youtube.
2022-02-08 09:42:32 -08:00
5834c0a7ef [oni-cmake] Add function to narrow the buffer to the current defun 2022-02-03 21:58:09 -08:00
d4eea37a8f [oni-csharp] Add csharp-solution-mode major mode
This major mode will be for viewing and editing the solution file. Right now it
just parses the solution file and displays some of the project names instead of
the GUIDs to make it more human readable.
2022-02-02 13:36:37 -08:00
df8ad7f733 [oni-csharp] Add compilation regular expression for devenv errors 2022-02-02 13:34:53 -08:00
f34308bf66 [oni-org] Allow refiling to someday.org
I'm trying to get a little more serious about GTD, and using a someday file is
part of that.
2022-01-12 10:42:06 -08:00
b18f400401 [oni-org] Modify the columns format for the todo list
Since I'm trying out the Pomodoro technique I want to be able to see at how many
pomodoro's I've estimated something so that I can choose what to do next.
2022-01-11 14:04:27 -08:00
7df353e7dc [oni-org] Don't change the state of a TODO when I'm capturing it
When a capture template is set up to clock in as I'm capturing it, this function
would immediately change the state of the item to WIP (or whichever next status
there was), but even though I'm spending time on the ticket at that point it's
not in progress yet.
2022-01-11 10:02:29 -08:00
011f0ce2f9 [oni-org] Add a simple Pomodoro duration
I'm trying out the Pomodoro Technique and one of the things you're supposed to
do is estimate your tasks in pomodoros. This change lets me estimate in, for
example, 1p (20min) based on my specified pomodoro duration.
2022-01-10 22:06:12 -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
8a67063ae4 [oni-csharp] Change indentation for argument list continuations
Previously:

    public void Foo(TypeA arg1,
                    TypeB arg2)
    {

Now:

    public void Foo(TypeA arg1,
        TypeB arg2)
    {
2022-01-05 16:12:51 -08:00
6ec18c21df [oni-org-roam] Add additional properties to ‘org-mode’ on load
Add the ‘ROAM_REFS’ and ‘ROAM_ALIASES’ properties to ‘org-default-properties’ so
that they're included for completion when setting properties.
2022-01-03 22:57:55 -08:00
73cb112dc8 [oni-org-roam] Enable ‘visual-line-mode’ for roam buffers 2022-01-03 22:57:45 -08:00
e3f5a27816 [oni-package] Remove deprecated ‘org’ package archive
All distribution of the latest “org-mode” version happens through the “nongnu”
package archive now.
2021-12-08 09:59:34 -08:00
b08344eb0a Add ‘ace-window’ dependency and keybind 2021-12-07 20:48:18 -08:00
9e9da4471a [oni-gui] Disable ligatures on Windows
I'm trying to fix an issue with loading a C# file that freezes my Emacs on
Windows. I've turned off the other functions, but it appears that this still
happens. If I have ligatures off, it seems to work ok.
2021-12-01 18:19:06 -08:00
9b8a001b62 [oni-gui] Don't use variable pitch or any fancy characters on WinNT 2021-12-01 17:46:16 -08:00
ccc0db6745 [oni-gui] Replace special characters with character codes
This is faster on systems where the right fonts haven't been installed.
2021-12-01 17:46:05 -08:00
fc3093668f Remove lock file
How did I ever submit this? This doesn't belong here...
2021-12-01 13:44:35 -08:00
8af6f8d160 Remove autoloads for snippet loading
Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my
package configuration hasn't been loaded it shouldn't try to include my snippets.
2021-12-01 13:43:21 -08:00
e1aecd6f63 [oni-git-commit] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ enabled and my inhibit function, this makes for
some pretty easy typing of words like “don't”.
2021-11-30 15:28:44 -08:00
6c611b5007 [oni-org] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ and my inhibit function together I get a pretty
reasonable way of typing fancy quotes and regular quotes in words like “don't”.
2021-11-30 15:25:10 -08:00
7432982e6a [oni-org-roam] Don't include headings that are FINISHED in my agenda 2021-11-23 00:40:28 -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
9a7c7e0673 [oni-org-roam] Add any files with tasks in them to org agenda files 2021-11-16 21:38:33 -08:00
ad7152a4d2 [oni-csharp] Change the location of Omnisharp on Windows 2021-11-16 20:49:08 -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
a0bd2014f3 [oni-gui] Use a hook to setup the variable and fixed-pitch faces
Since the ‘set-face-attribute’ function documentation says that if you use ‘nil’
as the FRAME argument, you set the face attribute for all current and future
frames. However this doesn’t seem to work for my setup at all, the variable
pitch font is still “Sans Serif” when I open the first frame.
2021-10-28 20:23:36 -07:00
05cb65c4aa [oni-org-roam] Turn on ‘org-roam-db-autosync-mode’ 2021-10-28 20:00:02 -07:00
2b22982c2c [oni-gui] Always setup faces immediately
Since the functions called in ‘oni-gui-setup-faces’ work on either the given
frame or, if given ‘nil’, all future frames, it shouldn’t be a problem to call
it when the Emacs daemon is starting. And since my main org file is loaded
before a frame is created, it doesn’t use the right font otherwise.
2021-10-21 14:26:08 -07:00