Live data from Hacker News

Zellij – A Terminal Workspace and Multiplexer

zellij.dev

111–120 of 248 posts

Re: Zellij – A Terminal Workspace and Multiplexer

#111
post #57

Earlier quoted context omitted.

I use it frequently too, but there's some terrible edge cases: https://stackoverflow.com/questions/53648244/specifying-the-...

? I don't think these are issues with Yaml 1.2, the spec since 2009.

What about `thing: 1.0` and `thing: 1.0.0`?

Parser implementations have also been buggy. The ruby one in particular being a source of RCE's. Of course, these are implementation issues, but surely a simpler specofication would be easier to implement. And the current specification is anything but simple, clocking 84 pages in the PDF flavour.

Re: Zellij – A Terminal Workspace and Multiplexer

#112

You have a problem and you need a configuration language, so you pick YAML. Now you have two problems. Take a leaf out of Rust's book and use something simple and sane like TOML, YAML is a mess. See: https://github.com/cblp/yaml-sucks Otherwise this looks like a great project, please don't ruin it with YAML.

For hierarchical data I've found JSON5 to be much more enjoyable to work with than YAML or TOML.

Yes, TOML is great for some things but not hierarchical data.

Re: Zellij – A Terminal Workspace and Multiplexer

#113
post #2

I'm not sure I could untrain all my muscle memory I've built up over the years with my TMUX configuration, but I truly believe in the next 10 years all of my current command line tools will be slowly replaced with rust equivalents (with the exception of neovim). ripgrep and fzf are already a large part of my workflow, and I love seeing WebAssembly becoming the universal plug and play standard. > Build a web client to…

> I'm not sure I could untrain all my muscle memory I've built up over the years with my TMUX configuration

I assume you can customize your keybindings so that they're mostly the same as your TMUX configuration.

But even if you couldn't, based on my own experience changing editors/OS/other tools, if you commit to it, retraining should take a couple weeks at most. It'll be super annoying for that couple weeks but it's really not all that ingrained.

Re: Zellij – A Terminal Workspace and Multiplexer

#114
post #56
post #27

I love that the UI can be explored by the user, since it shows available keyboard shortcuts. This is something where GNU screen or tmux suck, because you really have to lookup how to operate these tools. In some manual or with google.

I had to print this https://tmuxcheatsheet.com/

fwiw, if youre in tmux you can hit -?, so for me it's ctrl+w+? and itll show all available tmux commands.

Re: Zellij – A Terminal Workspace and Multiplexer

#117
post #97
post #84

Earlier quoted context omitted.

Or, to avoid sooner or later falling into Greenspun's Tenth Rule, just go immediately to Lua, which actually evolved out of a configuration language ( https://www.lua.org/history.html ), so it has syntax & features that are quite friendly for writing configs.

I'd never heard of Greenspun's tenth but that's good to know! I had a personal theory that all program configuration interfaces eventually become programming languages (poorly) and maybe this fits in there.

> I had a personal theory that all program configuration interfaces eventually become programming languages (poorly) and maybe this fits in there.

This is absolutely true. Another recent high profile example I can think of is HCL with terraform.

Re: Zellij – A Terminal Workspace and Multiplexer

#118
post #75

You have a problem and you need a configuration language, so you pick YAML. Now you have two problems. Take a leaf out of Rust's book and use something simple and sane like TOML, YAML is a mess. See: https://github.com/cblp/yaml-sucks Otherwise this looks like a great project, please don't ruin it with YAML.

YAML sucks but so does TOML, especially when it comes to nested data structures like the layout.yaml shown on the front page. There are no good configuration languages in existence and there never will be. We have rejected Lisp/sexp so now we must suffer endlessly.

I agree that TOML sucks for nested structures.

JSON5 is probably the best option at the moment.

https://json5.org/

* Instantly obvious what the structure is (unlike YAML or TOML).

* Everyone knows JSON already. This just makes it a bit nicer.

* No noob security mistakes or type confusion caused by underquoting like YAML.

Re: Zellij – A Terminal Workspace and Multiplexer

#119
post #97

Earlier quoted context omitted.

I'd never heard of Greenspun's tenth but that's good to know! I had a personal theory that all program configuration interfaces eventually become programming languages (poorly) and maybe this fits in there.

> I had a personal theory that all program configuration interfaces eventually become programming languages (poorly) and maybe this fits in there. This is absolutely true. Another recent high profile example I can think of is HCL with terraform.

I actually just stumbled upon an article where someone went through HCL and finally landed at Lua: http://dnaeon.github.io/choosing-lua-as-the-ddl-and-config-l...

Re: Zellij – A Terminal Workspace and Multiplexer

#120
I've only used it for a few minutes, but here's my first impressions.

What I really liked: I didn't have to read any documentation to understand how to do the things I'm used to in tmux, the CTRL+[KEY] menus with hints are really helpful and well designed.

What I didn't like so much: The interface doesn't feel as snappy as tmux over a remote connection, and I couldn't find any way in the "CTRL-menu" to detach (like tmux CTRL+B,D)

Looking forward to future releases!

Post reply on HN