vii - A terminal-based file browser that opens files in your editor
Project description
vii
A terminal-based file browser that opens selected files in your preferred editor.
Features
- 🗂️ Interactive file browser using Textual's DirectoryTree
- 🚀 Opens files in your preferred editor (VS Code, Sublime, Vim, etc.)
- ⌨️ Keyboard-driven interface
- 🎨 Clean, terminal-based UI
Installation
pipx install vii
Usage
Run vii from any directory:
vii
Or specify a directory to browse:
vii /path/to/project
Keyboard Shortcuts
Vi-style navigation (arrow keys also work):
j/k- Navigate down/uph/l- Collapse/expand directoriesg- Jump to topG- Jump to bottomEnter- Open selected file in editorq- QuitCtrl+C- Quit
Editor Detection
vii automatically detects your preferred editor by checking:
$VISUALenvironment variable$EDITORenvironment variable- Common editors:
code,subl,atom,vim,nvim,nano - Falls back to
open(macOS default)
Editor Behavior
- GUI Editors (VS Code, Sublime, etc.): Opens in the background while vii continues running
- Terminal Editors (vim, nvim, nano, etc.): vii suspends and the editor takes over full screen. When you quit the editor, vii resumes automatically
Development
git clone https://github.com/aclark4life/vii
cd vii
pip install -e ".[dev]"
Run with Textual's development console:
textual console
textual run --dev src/vii/app.py
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vii-0.1.0a5.tar.gz.
File metadata
- Download URL: vii-0.1.0a5.tar.gz
- Upload date:
- Size: 170.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cf28be10967484474e29264aca0ad7fd5f1cfb3c4d37856629d367e3565a7a2
|
|
| MD5 |
488abec0859d34d4154a2a03d0efdccd
|
|
| BLAKE2b-256 |
b943b0e02db846c22d5aafb99ae7f1634563826092181d171abc9d7baabf3f63
|
Provenance
The following attestation bundles were made for vii-0.1.0a5.tar.gz:
Publisher:
workflow.yml on aclark4life/vii
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vii-0.1.0a5.tar.gz -
Subject digest:
6cf28be10967484474e29264aca0ad7fd5f1cfb3c4d37856629d367e3565a7a2 - Sigstore transparency entry: 1106430048
- Sigstore integration time:
-
Permalink:
aclark4life/vii@366537fa8f599893c289d631190ecd0d836f5e37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aclark4life
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@366537fa8f599893c289d631190ecd0d836f5e37 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file vii-0.1.0a5-py3-none-any.whl.
File metadata
- Download URL: vii-0.1.0a5-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93df1393c85213de90734b8809de81364624bd6636d81c2f5d2b7997e6d484e0
|
|
| MD5 |
5a500a6d6aa809d1fb6e3a698bf40581
|
|
| BLAKE2b-256 |
124eacab78ae559e7d9031f17eb17587d99497d5934087aa3d22672474a0959c
|
Provenance
The following attestation bundles were made for vii-0.1.0a5-py3-none-any.whl:
Publisher:
workflow.yml on aclark4life/vii
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vii-0.1.0a5-py3-none-any.whl -
Subject digest:
93df1393c85213de90734b8809de81364624bd6636d81c2f5d2b7997e6d484e0 - Sigstore transparency entry: 1106430049
- Sigstore integration time:
-
Permalink:
aclark4life/vii@366537fa8f599893c289d631190ecd0d836f5e37 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/aclark4life
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@366537fa8f599893c289d631190ecd0d836f5e37 -
Trigger Event:
workflow_dispatch
-
Statement type: