xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit a149d45200c8d8bff9a213dae71c0f4c6a71f769

git: add README.md for the plugin
Provide slightly more details about plugin's operation.
Author: xaizek
Author date (UTC): 2026-03-28 13:49
Committer name: xaizek
Committer date (UTC): 2026-03-28 13:51
Parent(s): 746e74c4722eb60cdc731d342de3aa8c420e7987
Signing key: 99DC5E4DB05F6BE2
Tree: 53d48c48b20c8779e9eb619b923245a5c580046d
File Lines added Lines deleted
data/plugins/git/README.md 27 0
data/plugins/git/init.lua 0 15
File data/plugins/git/README.md added (mode: 100644) (index 000000000..d126291f7)
1 ## Git
2
3 This plugin provides utilities related to Git.
4
5 ### `:Gclone` command
6
7 Clones repository, optionally deriving target directory name from the URL. On
8 success, enters the newly cloned worktree. On failure, shows the error in a
9 dialog.
10
11 **Examples:**
12
13 * Clone into directory called `vifm`:
14 ```
15 :Gclone https://github.com/vifm/vifm.git
16 ```
17
18 * Clone into directory called `vifm-dev`:
19 ```
20 :Gclone https://github.com/vifm/vifm.git vifm-dev
21 ```
22
23 **Parameters:**
24
25 1. URL to clone from (required).
26 2. Destination (optional). Derived from the last component of the URL removing
27 `.git` suffix.
File data/plugins/git/init.lua changed (mode: 100644) (index fe5bfa862..116d8bb33)
1 --[[
2
3 Provides :Gclone command that clones repository by its URL determining directory
4 name from URL and enters cloned directory on success.
5
6 Usage example:
7
8 Clone into directory called "vifm".
9 :Gclone https://github.com/vifm/vifm.git
10
11 Clone into directory called "vifm-dev".
12 :Gclone https://github.com/vifm/vifm.git vifm-dev
13
14 --]]
15
16 1 local M = {} local M = {}
17 2
18 3 local function clone(info) local function clone(info)
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master