Our @olical is speaking at vimconf. The agenda was just released, congratulations!
Is the agenda public? Last thing I see is the cancelation notice for 2020.
I got an email from vimconf
congrats @olical!
this is still the latest on their website, I'd love to hear more https://vimconf.org/2020/
https://www.vimconf.live/ here's the website, the in person one is cancelled and the online one has another domain since it's a different person running it 🙂
oh, that clears it up, thanks
ooh, i think i may attend. looks like a fun lineup of speakers/talks
i've been wanting to attend vimconf for a while now, but a ticket to japan has been a hard sell to my employer 😄
You know if you have a form akin to this (-> (foo bar) (baz qux))
and you want to delete the outer form, i.e., the (-> ...)
and (possibly) shift (foo bar) (baz qux)
to align left, is that doable? btw, the outer form could be anything, like (when (a b) (c d))
, so in this case, the (when ...)
would be removed, leaving the (a b)
(c d)
intact.
I use vim-sexp to move the close paren two forms to the left, then d%
to remove (->)
that remains
there's probably something more elegant
<loadleader>@
will delete the outer () then I dae
the ->
If you visually select the (foo bar) (baz qux)
then you can <localleader>o
and the selection will take the place of the outer form. I don't have a nifty way of selecting the two inner forms though...
Thanks, that's closer. The selection also includes ->
but I'll be using viF
more often now :thumbsup:
there's also aF
to include the outer parens, and af
to select inner rather than outer form
I like to stick to the action / qualifier / thing combos because they reduce the number of things I need to memorize to do things in few keystrokes
#TIL <localleader>@
and <localleader>o
. (There are too many sexp mappings to remember 😓.) Thanks guys!
As for selecting forms, I find the WORD motions vim-sexp-mappings-for-regular-people most comfortable for that https://github.com/tpope/vim-sexp-mappings-for-regular-people#motion-mappings
Ah yes, looking at those motions v2E<localleader>o
with the cursor on the opening bracket of the first form should do it!
try viF
v- visual iF - inner form