FFFF GitHub - geminixiang/rex-sidecar: Mouse-friendly file explorer and viewer for Rex, the terminal multiplexer by Superlogical · GitHub
[go: up one dir, main page]

Skip to content

About

Mouse-friendly file explorer and viewer for Rex, the terminal multiplexer by Superlogical

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rex-sidecar

A mouse-friendly file explorer and viewer for Rex, the terminal multiplexer by Superlogical.

Press Cmd+Shift+E. A sidebar opens in the current directory. Click a file to preview it next to the sidebar.

rex-sidecar in Rex

Install

Install Rex first by following the Rex installation guide. Then run:

curl -fsSL https://raw.githubusercontent.com/geminixiang/rex-sidecar/main/install.sh | sh

The installer uses Homebrew to add yazi, neovim, and jq if they are missing. Run the same command again to update.

Usage

Press Cmd+Shift+E in a Rex terminal to open the sidecar. It is also in the command palette as Sidecar: File Explorer.

  • Click a folder to open it.
  • Click a file to preview it.
  • Click the ‹ path header to go up a level.
  • Right-click a file to focus the viewer.
  • Files show git status markers.

Configure

Add options to the setup call in ~/.config/rex/init.lua. For example, key changes the shortcut:

require("rex-sidecar").setup{ key = "cmd+shift+e", sidebar_ratio = 0.2, viewer_ratio = 70 }

Uninstall

sh ~/.config/rex/rex-sidecar/uninstall.sh

Acknowledgements

Thanks to Superlogical for building Rex, a great terminal multiplexer. Its Lua config and open API made this project possible.

rex-sidecar is a community project. Superlogical does not maintain or endorse it.

License

MIT

About

Mouse-friendly file explorer and viewer for Rex, the terminal multiplexer by Superlogical

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0