superfile Documentation

Pretty fancy and modern terminal file manager

RAW Doc

File: README.md

Demo

Perform common operations

Content

Installation

macOS and Linux

bash
bash -c "$(curl -sLo- https://superfile.dev/install.sh)"

If you want to inspect the script, see : install.sh

Windows

Powershell

powershell
powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.dev/install.ps1'))"

If you want to inspect the script, see : install.ps1

[Winget](https://winget.run/)

powershell
winget install --id yorukot.superfile

[Scoop](https://scoop.sh/)

text
scoop install superfile

More installation methods

Click me to check on how to install

Build

You can build the source code yourself by using these steps:

Requirements

Build Steps

Clone this repository using the following command:

text
git clone https://github.com/yorukot/superfile.git --depth=1

Enter the downloaded directory:

bash
cd superfile

For macOS/Linux

Run the build.sh file:

bash
./build.sh

Add the binary file to your $PATH, e.g., in /usr/local/bin:

bash
sudo mv ./bin/spf /usr/local/bin

For Windows

bash
go build -o bin/spf.exe

Edit System Environment Variables and add superfile repo's bin directory to your PATH

Start superfile

bash
spf

Supported Systems

  • [x] Linux
  • [x] macOS
  • [x] Windows (Not fully supported yet)

Tutorial

After you install superfile, you can go here to briefly understand how to use superfile!

Plugins

Click me to the plugins wiki

Themes

Click me to the theme wiki

Hotkeys

[!WARNING] If you are vim/nvim user please change your default hotkeys config to vim version!

Click me to see the hotkey wiki

Notes

We have an auto update functionality, that fetches superfile's latest released version from github (if last timestamp of last version check was less than 24 hours) and prints a prompt to user, if there is a newer version available.

You can turn this off, by setting auto_check_update to false in superfile config. Click me to see the config wiki

Troubleshooting

Click me to see common problem fix

Uninstalling

macOS and Linux

bash
bash -c "$(curl -sLo- https://superfile.dev/uninstall.sh)"

If you want to inspect the script, see : uninstall.sh

Windows

To uninstall superfile on Windows, use this powershell script.

powershell
powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.dev/uninstall.ps1'))"

Contributing

If you want to contribute please follow the contribution guide

Click me to see changelog

Thanks

Support

  • a Star on my GitHub repository would be nice ๐ŸŒŸ
  • You can buy a coffee for me ๐Ÿ’–

Core maintainer

We welcome anyone who wants to become a core maintainer. Feel free to reach out!

Contributors

Thanks to all the contributors for making this project even greater!

Powered by

Thanks to JetBrains team for providing open-source licenses to support the maintenance of superfile.

Star History

THANKS FOR All OF YOUR STARS! Your stars are my motivation to keep updating!


File: testsuite/docs/tmux.md

Overview

This is to document the behaviour of tmux, and how could we use it in testsuite

Tmux concepts and working info

  • Tmux creates a main server process, and one new process for each session.

  • -s and -n for window naming.

  • We have prefix keys to send commands to tmux.

Sample usage with spf

Sending keys to termux and controlling from outside.

Knowledge sharing

  • tmux new 'spf' - Run spf in tmux
  • tmux attach -t <session_name> attach to an existing session. You can have two windows duplicating same behaviour.
  • tmux kill-session -t <session_name> kill session
  • Ctrl+B+: - Enter commands
  • Ctrl+B+D - Detach from session
  • :source ~/.tmux.conf - Change the config of running server
  • We have already a wrapper library for termux in python !!!!!
  • How to send key press/tmux commands to the process ?

References