hyperlayout
hyperlayout copied to clipboard
Can't find .hyperlayout in my home directory
I just gave this plugin a shot as it seemed like it may have some features I miss from Tmux. I just used a bare example setup of two horizontal panes (from the README.md). Even though I saved this file to my home directory, I get an error that says the file cannot be found.

I guess I can try the other methods, but shouldn't this work?
@nobleach There's likely a syntax error in your layout. Try something simple, like:
[
[
["echo Hello", "echo World"]
]
]
and see if it works?
Assuming you created the .hyperlayout
file containing the layout configuration, the problem seems that you don't have hyperlayout installed globally. So, try with npm install -g hyperlayout
.
I ran first npm install -g hyperlayout hpm-cli
and it installed hyperlayout inside ~/.hyper_plugins/node_modules/hyperlayout
.
Perhaps the issue should be renamed. The problem may be in the error message. Since when there is a .hyperlayout
file with bad syntax the message is Can't find any hyperlayout preset (.hyperlayout, package.json, ~./hyperlayout)
I'd call this a UI feature story to improve the error message when a configuration file exists but may have a format error.