[-] rustbuckett@programming.dev 7 points 12 hours ago

holy shit that guy is twisted af.

[-] rustbuckett@programming.dev 3 points 12 hours ago

That's actually what Idiot Flesh did in the 90s. They had one show where the band outnumbered the crowd, so they had the crowd gather in the middle of the venue and they played the show around them.

[-] rustbuckett@programming.dev 28 points 12 hours ago

"The Civil War was about states' rights!"

Yes. States' rights to own slaves.

[-] rustbuckett@programming.dev 16 points 12 hours ago

Who could have predicted this outcome from a failed Fox personality?

[-] rustbuckett@programming.dev 1 points 3 months ago

I do. Supply and demand. Supply hasn't caught up.

[-] rustbuckett@programming.dev 1 points 3 months ago

Yeah. I just use Emacs for coding.

[-] rustbuckett@programming.dev 2 points 3 months ago

I love the graphic. It is now the wallpaper on my laptop.

[-] rustbuckett@programming.dev 9 points 3 months ago

He's right. It's just another tool in the hands of a skilled technician. The upgrade from a hammer to a nailgun didn't suddenly make everyone a master carpenter, but in the hands of some that knows how to use it, it can greatly increase productivity. We are in the very early stages of AI, and we are working out the details. While it's not a great comparison, I remember when Windows 95 launched and, when you could find RAM, it was literally worth more than its weight in gold. Small shops had to keep it in a safe. This was because Windows 95 needed at least 8MB ( <- not a typo) of 30 pin SIMM RAM to run well. A couple years later and people were putting them on their keychains as a joke.

[-] rustbuckett@programming.dev 33 points 4 months ago

Or the minutes that I get in early. Or take a short lunch.

1
submitted 4 months ago* (last edited 4 months ago) by rustbuckett@programming.dev to c/orgmode@lemmy.ml

I'm trying to create a group in org-super-agenda that displays recurring events that occur today. They are showing under "Other items" in org-super-agenda.

Here's the event

* Burger and Fry-day!
:PROPERTIES:
:LOCATION: Everywhere
:ID:       69cca5d7-f9ef-45eb-9d41-76ee125156c7
:END:
<2020-09-11 Fri +1w>

Here's my config

  (use-package org-super-agenda
    :straight t
    :after org-agenda
    :config
    (org-super-agenda-mode 1)
    (setq org-super-agenda-groups
           '((:name "All Day Events"
                    :and (:date today
                                :not (:habit)
                                :not (:time-grid)))
             (:name "Today's Schedule"
                    :time-grid t)
             (:name "Punchlist"
                    :and (:scheduled today
                                     :not (:habit)))
             (:name "Habits"
                    :habit t)
             (:name "Important"
                    :priority "1")
             )))

Would org-ql make this possible? I haven't been able to successfully select the recurring event occurring today using org-ql. I've seen several other people asking about doing this on Github, but no definitive answer.

EDIT: Apparently, if I could group by the text property 'day' instead of 'ts-date', which is what :date matches, it would be easy. Because 'day' matches (org-today), but 'ts-date' is the date of origin or the first occurrence of the recurring event.

[-] rustbuckett@programming.dev 1 points 2 years ago

This isn't exactly a fix, but it keeps me from accidentally locking up my terminal and potentially losing work

map('i', '', 'gj', {})
map('i', '', 'gk', {})
map('i', '', '', {})
map('i', '', '', {})
map('n', '', 'j', {})
map('n', '', 'k', {})
map('n', '', 'l', {})
map('n', '', 'h', {})

Now if I forget to leave Insert Mode, the cursor just moves to the left, and C-H in Normal Mode still works as expected.

p.s. I commented the key_bindings in alacritty.yml

[-] rustbuckett@programming.dev 1 points 2 years ago

I think I'm on the trail. According to this post on Reddit, some terminal emulators have trouble passing the correct codes to terminal apps like Neovim. I did manage to break C-H completely, but that's not really helpful. By adding the following keybinds to alacritty.yml, I'm getting Neovim to behave differently, but not as expected.

key_bindings:
  - { key: F6,    mods: Shift,        chars: "\x1b[17~;1u"   }
  - { key: H,     mods: Control,               chars: "\x1b[72;4u"}

The first one for S-F6, gets Neovim to recognize the 'F6' part, but does not behave any differently than if I just pressed 'F6' without the modifier. But, without this key binding in alacritty.yml, Neovim doesn't react to Shift+F6 at all.

The second entry, if I'm in Insert Mode in Neovim, causes Neovim to switch to Normal Mode and go to the top of the buffer. In normal mode, it just goes to the top of the buffer instead of the defined behavior of moving to the pane to the left of the current pane.

So, I've basically managed to get a "different error", but not solve the problem. Any ideas?

7
submitted 2 years ago* (last edited 2 years ago) by rustbuckett@programming.dev to c/neovim@programming.dev

I have Ctrl-h mapped to move to the pane left of current in Normal Mode. If I forget that I'm in insert mode and do this, it just locked up Neovim and starts consuming processor until I force quit. I can't find what this mapping is trying to do and how to undo it. It occasionally causes me to lose work. Please help. :-)

EDIT: I just looked in my config to try to just add this binding to do the same thing in Insert Mode and discovered that that's what it's already supposed to do. I have CTRL-H mapped to , but all it does is lockup Neovim.

[-] rustbuckett@programming.dev 2 points 2 years ago

I'd like to figure out that mapping. I do this all the time. I forget I'm in insert mode, try to move the curser with 'j' and just end up typing a bunch of j's that I have to delete.

view more: next ›

rustbuckett

0 post score
0 comment score
joined 3 years ago