1
0
Fork 0
Commit graph

948 commits

Author SHA1 Message Date
da68ca4f7d [oni-org] Fix using ‘oni-org-move-subtree’ multiple times in a row
Before, because of the use of ‘org-cut-subtree’, which in turn calls
‘kill-region’, which checks to see if ‘last-command’ equals ‘kill-region’ and
uses either ‘kill-append’ or ‘kill-new’ repeated uses of the
‘oni-org-move-subtree’ command would append cut subtrees together and repeatedly
paste the same subtrees over and over again.

Setting ‘this-command’ will make sure that when the ‘kill-region’ checks the
value of ‘last-command’ it won't find ‘kill-region’ there.
2022-05-13 11:15:01 -07:00
4b94f8403c [oni-org] Use ‘rx’ instead of ‘rx-to-string’
‘rx’ should expand to what is needed to make sure that the right thing is done.
I feel more comfortable using this than ‘rx-to-string’ while unquoting the
variables I use.
2022-05-11 20:37:11 -07:00
54e9c9c26f [oni-org] Combine ‘oni-move-subtree-*’ into ‘oni-org-move-subtree’
These two functions do essentially the same thing, but in different directions.
This can also be done with one single interactive function. This way there is
only one thing to call.
2022-05-11 20:21:53 -07:00
aaa5b89d0a [oni-org] Add commands to move subtrees relative to others 2022-04-24 02:53:43 -07:00
297df3579d [oni-org] Add agenda to overview command and show 10 items each 2022-04-24 02:53:18 -07:00
40919f0fe9 [oni-org] Remove references to ‘oni-backlinks’
I haven't actually been using them at all, and they're just clogging up the
‘org-update-all-dblocks’ command by doing a bunch of unnecessary work.
2022-04-22 17:27:15 -07:00
d6897a634a [oni-browse] Redirect any ‘*.medium.com’ URL to scribe.rip 2022-04-01 18:44:23 -07:00
ed3149f690 [oni-groovy] Add defun-based navigation properties
With this also comes the ability to call ‘narrow-to-defun’ and have it show only
the current function.
2022-04-01 18:43:25 -07:00
64d141212b [oni-package] Add tekuti-el repository 2022-04-01 18:40:17 -07:00
64fee97d35 [oni-org] Add support for id: backlinks in oni-backlinks dblock 2022-04-01 18:39:47 -07:00
641f736478 [oni-org] Add dynamic block for org for linking together projects
This is similar to my backlinks dynamic block, but it supports links by id and
will print them as a checkbox so that the project can track progress by using
the progress cookies.
2022-04-01 18:37:10 -07:00
2dd841ffc3 [oni-org] Add an agenda with tasks, articles, videos, and music 2022-04-01 18:35:55 -07:00
4e73acbae8 [oni-lsp] Remove ivy dependency 2022-03-18 11:09:34 -07:00
3ef86655f1 [oni-org] Show the agenda as the only window 2022-03-15 23:10:59 -07:00
8ff956b3a2 [oni-org] Hide the body of the task marked as done 2022-03-15 23:09:46 -07:00
62dec39756 [oni-vc] Fix function reference 2022-03-02 15:42:53 -08:00
a0f9cbf695 [oni-projectile] Remove dependency on ivy 2022-03-01 23:59:22 -08: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
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