00:32 apac left 01:31 lichtkind left 02:29 Aedil joined 03:13 stanrifkin_ joined 03:15 stanrifkin left 04:43 derpydoo joined 05:08 Aedil left 06:00 derpydoo left 06:08 derpydoo joined 06:23 abraxxa-home joined 07:00 Aedil joined 07:32 apac joined 08:14 apac left 08:23 Sgeo_ left 09:26 ACfromTX left 09:40 ACfromTX joined 10:27 apac joined 10:28 stanrifkin_ left 10:33 apac left 10:38 abraxxa-home left 11:00 lichtkind joined
tbrowder m: unit module X; class F is export { has $.type is required } 12:04
camelia ( no output )
tbrowder m: unit module X; sub bar() {}; class F is export { has $.type is required } 12:06
camelia ( no output )
12:18 apac joined 12:34 ACfromTX left 12:46 ACfromTX joined
tbrowder i finally tracked down a raku code problem which wasn’t being caught early enough so it was misleading. i think i’ve been misled by it before: a spurious “ double quote at the end of a line was causing a report of an unexpected “is required” trait in the module much earlier in the code. 13:35
i guess that’s something a linter could find pretty easily. 13:36
14:19 apac left 14:25 MoC joined 14:28 derpydoo left 15:00 Aedil left 15:05 Aedil joined 15:32 librasteve_ joined 16:06 stanrifkin joined
[Coke] I have an old vimrc that has some shortcuts I defined with, e.g. 'let @c="..."' - how do I invoke that? I cleverly didn't leave enough breadcrumbs to remind me. 16:27
Voldenet have you tried @c 16:33
[Coke] looks like it should just be @c, but that's not working. :(
:reg c shows me it's been registered. 16:34
stanrifkin I think let @c just put the content into register c 16:35
[Coke] Right, so when I'm editing, @c should invoke that macro, yes? (I had used these before, having touched my vimrc in ages, trying to figure out why it's not working now 16:36
"C<>: use the surround plugin to wrap in <>, prepend a C"
let @c="F<aC<\<esc>f\|i>\<esc>"
disbot2 <jubilatious1_98524> The RHS is the key commands, that puts the capture in @c. 16:37
stanrifkin hm... yes @c should invoke it
:@c
disbot2 <jubilatious1_98524> (...admittedly, it's been a while...). 16:38
<jubilatious1_98524> Isn't @c just a register?
[Coke] and my comment mentions the surround plugin, which appears to still be setup in my ~/.vim 16:39
16:42 ACfromTX left
disbot2 <jubilatious1_98524> Do you have a mapleader set? 16:42
[Coke] I have no idea what that means
[Coke] wonders if this annoyance is what gets him to give up on vim after nearly 40 years. 16:44
er, vi
Voldenet the macro does work for me - it literally goes backward from cursor to <, appends C< does escape, finds |, and inserts > just before it
disbot2 <jubilatious1_98524> search for leader or mapleader in your .vimrc, i think it is , comma by default.d 16:45
[Coke] 'leader' doesn't appear in the vimrc.
Voldenet (no idea what it's supposed to do) 16:46
disbot2 <jubilatious1_98524> Okay, then I'm mis-remembering. Glad to hear you have it working.
[Coke] for asdf, wrap in C<asdf>
disbot2 <jubilatious1_98524> copy
[Coke] was for editing rakudoc for the docs site
disbot2 <jubilatious1_98524> learnvimscriptthehardway.stevelosh...rs/06.html 16:47
Voldenet I have tried to love vim and emacs, yet I keep going back to vscode for some reason :>
[Coke] gist.github.com/coke/1cbd4b22164a7...957397d1f1
disbot2 <jubilatious1_98524> (sorry for the noise...I appear to be way off-topic). 16:50
stanrifkin Voldenet: Can you add features like that to vscode?
I heard that it is even impossible to change a theme. Because it's signed. 16:51
Voldenet stanrifkin: there is a vim-like extension for it, but I've never had the need to use it, so I have no idea how it works 16:52
disbot2 <librasteve> tend to alternate vi and intellij … tried the vim mode in intellij but my brain stopped me
16:55 ACfromTX joined
Voldenet but yes, there are limits to what vscode can do sadly, I wish it had some built-in scripting 16:56
stanrifkin There are a lot of new interesting editors. Helix?, Vis and so on. 16:59
Voldenet I don't like how they're using regular text console, so they can't even have multiple text styles in one window - markdown preview? Forget it 17:03
[Coke] OK, I reinstalled the surround plugin and now the @w is working, at least. @c doesn't appear to be doing what it should be, but is doing SOMETHING. weird. Wonder what changed since ... 2 years ago? 17:16
ok, let @c="ysiw>iC" is much better. 17:21
Thanks, folks.
... now what doc was I looking at... 17:24
17:31 melezhik joined
melezhik . 17:31
17:54 ACfromTX left 18:07 ACfromTX joined 19:27 apac joined 19:41 melezhik left 20:03 MoC left 21:33 apac left 22:39 lichtkind left 23:28 Aedil left