News for hackers. Stuff that matters.
Re:Zellij: A terminal workspace with batteries included by lenkite on Friday August 12, 2022 @11:43PM (#32446698)
I assume Neovim users don't need to care about this thanks to in-built terminal and ability to split, resize and switch between them using standard vim key bindings.
Re:Zellij: A terminal workspace with batteries included by imsnif on Saturday August 13, 2022 @02:32AM (#32447442)
I'm the original Zellij creator. I am and have long been a vim user.

I created this tool originally for people like us. It has lots and lots of extra features and functionality (eg. opening the current pane scrollback inside your default editor in-place).

Check it out if you like.

Re:Zellij: A terminal workspace with batteries included by alpaca128 on Saturday August 13, 2022 @03:46AM (#32447769)
> opening the current pane scrollback inside your default editor in-place

Wow, that was my favorite feature in dvtm. I'll definitely check it out because while I mostly just use terminal buffers in NeoVim I always get so annoyed that moving the cursor is only possible letter by letter with arrow keys, which is ironic because every bash terminal supports basic inline Vim navigation.

Little comment about the website: I think it would be better to show the content of the About page (or a summary) on the start page instead of just telling people to install a program they don't know anything about. "Terminal workspace with batteries included" can mean almost anything.

Re:Zellij: A terminal workspace with batteries included by jcpst on Friday August 12, 2022 @11:53PM (#32446748)
Or Vim users, they have those features too.

But for the Neovim users (including myself), this is handy if they would like to use other applications besides neovim while keeping their neovim session open.

Re:Zellij: A terminal workspace with batteries included by joshbode on Saturday August 13, 2022 @02:50AM (#32447510)
vmux [1] might be of interest to you.

It uses the (n)vim remote API with tmux to maintain a global (n)vim session and redirects files opened via `vmux` back to the global session and switches to the window in tmux that session is visible in.

Hints:

- use `pipx` [2] to install `vmux` to make it available globally so you don't need to mess around with virtual environments.

- just `alias nvim=vmux`, and use `command nvim` if you need the real thing.

- I set the following in my profile file:

  export VMUX_EDITOR="nvim"
  export VMUX_GLOBAL="true"

  alias nvim=vmux

[1] https://github.com/jceb/vmux/

[2] https://github.com/pypa/pipx/

Re:Zellij: A terminal workspace with batteries included by w0m on Saturday August 13, 2022 @12:06AM (#32446797)
as a heavy split Vim user; they do different things unless you run vim/neovim purely in server mode and remote connect.

The ability to close terminal and reconnect to it later is a key defining reason I run ~90% of my neovim sessions inside of tmux.