Fork me on GitHub
#vim
<
2018-03-12
>
Hukka14:03:00

Bah. Someone has highlighted me, but it's lost in the short backlog 😞

Hukka14:03:58

I wonder if I should try a graphical neovim. The :terminal is handy for repl, but I'm getting somewhat tired of having two layers of tiles and two different bindings to move between them (i3 and neovim)

Hukka14:03:20

I'm assuming that I could have the :terminal "split" in a completely new window, of course

Hukka14:03:05

@dominicm Thanks, it was!

Hukka14:03:50

@jebberjeb Back from sick leave, thanks for the testing snippet

dave17:03:46

@tomi.hukkalainen_slac why not just use i3 for everything?

dave17:03:05

i think one of my coworkers does that. he has a chrome plugin installed that makes new tabs open as new windows

dave17:03:25

by "use i3 for everything," i mean only use vim for editing single buffers, and if you need to open a split, just open a new window editing the file you want to edit

dave17:03:27

i guess that approach would take a little bit of setup, but maybe not terrible. i'm imagining writing a vim ex command like :I3edit some-file.foo and have it shell out to run whatever command you need to do that opens an i3 window with vim /path/to/some-file.foo

Hukka17:03:15

I guess I could try fireplace

Hukka17:03:31

But so far I've been using jeb's snippet for communicating with a repl in :terminal

Hukka17:03:39

So it has to be in the same process

Hukka17:03:07

That's what I meant by using a graphical neovim; I could have multiple buffers in separate windows

jebberjeb17:03:42

@tomi.hukkalainen_slac what I’ll do some of the time is run my process separately, and launch it with a SocketREPL (using JVM command line args), then in :terminal I’ll do nc localhost port.

jebberjeb17:03:09

Not sure if that’s useful for your setup, but at least it decouples my Clojure process from Neovim — when I need it

Hukka17:03:10

Oh sure, I have to use that now and then anyway

dominicm17:03:14

There's an issue on neovim to support multiple windows.

Hukka17:03:59

@dominicm You mean running it in multiple terminal emulators, while still in the same process?

Hukka17:03:15

Or do you mean that the graphical frontends cannot handle multiple windows either, currently?

dominicm17:03:24

The former.

dominicm17:03:24

Seems like it

Hukka17:03:52

Looks like a pretty low traffic issue 😕

dominicm17:03:24

Yeah. Neovim has slowed a little. I think they're bug fixing primarily for next release. Less of a feature focus.

juhoteperi11:03:43

Neovim fixes and a new release sounds great for me. I'm running dev build for some features (maybe...) and for last few days it has segfaulted every 10 minutes or so 😕

dominicm12:03:48

Apparently there's now socket jobs which aren't rpc based now. Great for the socket repl!