Crates.io | tim-cli |
lib.rs | tim-cli |
version | 0.1.0 |
source | src |
created_at | 2024-08-20 21:40:11.954524 |
updated_at | 2024-08-20 21:40:11.954524 |
description | Command line text editor like vim. But tim. |
homepage | https://github.com/Nvt500/tim |
repository | https://github.com/Nvt500/tim |
max_upload_size | |
id | 1345802 |
size | 39,334 |
Command line text editor like vim. But tim.
It lets you open a file in your terminal to edit files with word wrap and an undo functionality.
Tim also includes a file explorer to quickly select the correct file.
cargo install tim-cli
Please rename the executable to tim since it will be downloaded as tim-cli because someone had to take the name.
Command line text editor like vim. But tim.
Usage: tim <FILE_PATH> [OPTIONS]
Options:
-c, --create Creates but doesn't open file
-d, --delete Deletes file
-r, --rename [NAME] Renames file to [NAME] or user inputted
-b, --dark White on black
-l, --light Black on white
Usage: tim [OPTIONS]
Options:
-f, --files Opens a file explorer to pick a file to open
-h, --help Shows commands
-k, --keybinds Shows keybinds/controls
tim foo.txt --create // Creates foo.txt
tim foo.txt --rename bar.txt // Renames foo.txt to bar.txt
tim bar.txt --delete // Deletes bar.txt
tim foo.txt -- create // Creates foo.txt
tim foo.txt -- rename // Renames foo.txt to bar.txt
Enter a new name for the file:
bar.txt
tim bar.txt -- delete // Deletes bar.txt
Pretty self-explanatory.
Text Editor:
Esc, End, Delete, Ctrl-S => Exit
Arrow Keys => Move Cursor
Ctrl-Z => Undo
File Explorer:
Esc, End, Delete, Ctrl-S => Exit
Arrow Keys => Move Cursor
Enter, Space => Select
Backspace => Parent Directory