Fork me on GitHub
#vim
<
2021-05-08
>
Noah Bogart12:05:24

Iced question: is it possible to reload all of the tests in a file/namespace? I copied a test file and ran the tests, looking to delete certain ones after they failed (lol don’t ask why), and then after deleting them, rerunning the tests in that namespace continued to highlight the now-deleted failing tests.

grazfather14:05:53

you’d have to use ns-unmap

grazfather14:05:15

or restart the repl

Noah Bogart14:05:24

Yeah I wanna avoid restarting the repl. Thanks, I’ll look into ns-unmapped

noisesmith16:05:41

you can also destroy the ns with remove-ns - it will be recreated when you reload the file

👍 3
Noah Bogart16:05:09

oh that's a good idea

Aron12:05:55

I would love to see people work with their vim clojurescript setup, because although everything is available (plugins, config, keybindings) without seeing the integrated use of the whole, it's hard to climb the learning curve

👆 3
emak17:05:33

Very good point. I remember that I struggled with that a few years back. I will try to screencast a demo of my workflow with vim + fireplace working on https://github.com/athensresearch/athens/ codebase that is built with shadow-cljs.

👀 3
emilaasa17:05:31

Is it only clojurescript you're interested in?

Aron19:05:24

No. 🙂

emilaasa08:05:23

I had the same experience as you (still do to some extent) when starting out with Conjure. But I could maybe wrap together an article or screencast, would be good to do it for my own workflows sake as well

Aron08:05:05

If you can do it and have the time to spare, I think it would help more people than just me. There are relatively few of these kinds of videos, or at least a few that I can find. There are quite a lot that talk about some aspect of vim, but those rarely show the whole experience.

Aron20:05:48

https://www.youtube.com/watch?v=PmSPKvlJk74 so I am watching this and trying to see what the keys are in vim sexp

Aron20:05:00

progressing somewhat 🙂

emilaasa21:05:10

Looks pretty good, I learned them by :h vim-sexp and reading the source of tpopes remaps: https://github.com/tpope/vim-sexp-mappings-for-regular-people/blob/master/plugin/sexp_mappings_for_regular_people.vim#L30 - and then trying them out. Not the most efficent way to learn for sure..

emilaasa21:05:32

I thought about just doing a few gifs like those and writing something useful around them

Aron21:05:17

Yeah, a gif like that explains everything much faster than the docs. I am trying to figure out how to indent multiple lines and nothing works. One difficulty that is a constant block for me is that I am used to symmetric operations, e.g. how <e or >e are symmetric, but that seems not to be the way when it's about indents

Aron21:05:37

== and -= both just do something that makes no sense to me

grazfather14:05:18

it is, just add one piece at a time

Aron23:05:49

whenever anyone uses the word "just" when giving advice of any kind, it should be a red flag, that maybe it's not "just"

👍 12
Aron23:05:04

"just" saying. been using vim since 2009. it was never just one thing, because to do anything useful, it had to do multiple things at once, and be useful in many ways at once.

Aron23:05:36

Also, it's a wonderment to me when I ask for sharing an "integrated" experience, and I talk about "the whole", it can be taken as if the same could be achieved incrementally. How?