,cf
works like a charm 🙂
Is :Clj<CR>
supposed to leave me stuck in insert mode in the terminal tab until I ^C and kill the process? Or is my terminal session and/or dispatch config borken?
That'll probably be neovim's terminal mode? https://neovim.io/doc/user/nvim_terminal_emulator.html you need to use <C-\><C-n>
to get out and back to normal mode. I have jk
mapped to that since I use jk
as my escape, you might want something like :tnoremap <Esc> <C-\><C-n>
that's in that help text
Okay. So far I've found :Clj!
is equivalent, then a quick <Leader>cf
and I'm connected.
Just want to make sure I don't have some borken config
Though I'm totally fine with starting the repl outside nvim and connecting automatically via .nrepl-port
I still tend to start outside, I like to restart nvim regularly / because I have a habit of hitting :w :qa
on a regular basis after I'm done with what I wanted to do
Hah! Same.
vim is so quit/launch friendly relative to emacs
I think jack-in is good for people that REALLY want it to be a little more emacs like (not me) or want something one shot for a quick eval test. I want to add babashka support to jack-in too, so you could run that to do a quick test of some syntax
I do not agree with the emacs-like definition :) Configure dispatch to start a new window. That's what I do!
Then I open and close it as much as I like
You can even automatically run :Clj if you like, because dispatch won't run it more than necessary.
I guess if you're using tmux? Which I do through SSH but never locally
Or hook it into kitty to open a new window?
There's a built in X mode which will work too
Oh sick, I need to have a deeper look
If you uninstall neovim term dispatch, then it'll probably land on X
Too much to look at 😅