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 97b8bda15a6b54e03f038e43e22765226e49efce

Move forward declarations in engine/completion.c
They should precede the definitions of data as is done in other source
files.
Author: xaizek
Author date (UTC): 2026-11-05 23:13
Committer name: xaizek
Committer date (UTC): 2026-11-05 23:15
Parent(s): 53496f2dff7458005b0596617388af0a94ea50a7
Signing key: 99DC5E4DB05F6BE2
Tree: 59d2927e39bef8b7e860864ac090780244d1e157
File Lines added Lines deleted
src/engine/completion.c 5 5
File src/engine/completion.c changed (mode: 100644) (index 0edb02db4..f98c3546e)
29 29 #include "../utils/utf8.h" #include "../utils/utf8.h"
30 30 #include "../utils/utils.h" #include "../utils/utils.h"
31 31
32 static int add_match(char match[], const char descr[]);
33 static void group_unique_sort(size_t start_index, size_t len);
34 static int sorter(const void *first, const void *second);
35 static void remove_duplicates(vle_compl_t arr[], size_t count);
36
32 37 static enum static enum
33 38 { {
34 39 NOT_STARTED, NOT_STARTED,
 
... ... static char **sort_keys;
55 60 /* Function called to pre-process path for completion list. */ /* Function called to pre-process path for completion list. */
56 61 static vle_compl_add_path_hook_f add_path_hook = &strdup; static vle_compl_add_path_hook_f add_path_hook = &strdup;
57 62
58 static int add_match(char match[], const char descr[]);
59 static void group_unique_sort(size_t start_index, size_t len);
60 static int sorter(const void *first, const void *second);
61 static void remove_duplicates(vle_compl_t arr[], size_t count);
62
63 63 void void
64 64 vle_compl_reset(void) vle_compl_reset(void)
65 65 { {
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