← 返回命令列表

Linux command

vitree 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start vitree

vitree

Start Vim with a server name

vim --servername vim

Open vitree in a specific directory

vitree [path/to/directory]

Cycle filter modes

f

Show the keybinding help

?

说明

vitree is a terminal-based file browser designed to be used alongside Vim. Instead of running the file tree inside the editor (and forcing you to learn another set of bindings for resizing, splitting, and focus), it runs in a separate terminal window managed by your usual window manager or terminal multiplexer. It connects to a running Vim instance through Vim's --servername mechanism, so selecting a file in vitree opens it in the connected Vim. The interface is an asynchronous TUI with automatic tree refresh, Vim-like navigation keybindings, mouse support, and ANSI color output. By default, files matched by .gitignore are hidden and Git status markers are shown for tracked files. Pressing f toggles between filter modes (default → changed only → show all), and ? displays the full keybinding reference.

参数

_path_
Directory to open. Defaults to the current working directory.

FAQ

What is the vitree command used for?

vitree is a terminal-based file browser designed to be used alongside Vim. Instead of running the file tree inside the editor (and forcing you to learn another set of bindings for resizing, splitting, and focus), it runs in a separate terminal window managed by your usual window manager or terminal multiplexer. It connects to a running Vim instance through Vim's --servername mechanism, so selecting a file in vitree opens it in the connected Vim. The interface is an asynchronous TUI with automatic tree refresh, Vim-like navigation keybindings, mouse support, and ANSI color output. By default, files matched by .gitignore are hidden and Git status markers are shown for tracked files. Pressing f toggles between filter modes (default → changed only → show all), and ? displays the full keybinding reference.

How do I run a basic vitree example?

Run `vitree` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does _path_ do in vitree?

Directory to open. Defaults to the current working directory.