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 2392fcad2b72ded10d6bdd45e6e83f370d90764f

Fix calling Vim on :help command with 'novimhelp'
In case when path to vifm's configuration directory contains spaces.

Thanks to filterfalse.
Author: xaizek
Author date (UTC): 2013-05-06 10:16
Committer name: xaizek
Committer date (UTC): 2013-05-06 10:18
Parent(s): 3b5ff13641b13de5a84db3026f82d1490b4941ef
Signing key:
Tree: 6fb9ef48f7319d735efea99798af96d252824a8c
File Lines added Lines deleted
ChangeLog 4 0
src/commands.c 13 3
File ChangeLog changed (mode: 100644) (index 556d01b08..4b2cdbf7f)
38 38 Fixed calling Vim on :help command without arguments on Windows. Thanks Fixed calling Vim on :help command without arguments on Windows. Thanks
39 39 to filterfalse. to filterfalse.
40 40
41 Fixed calling Vim on :help command with 'vimhelp' option turned off and a
42 path with spaces in vifm's configuration directory. Thanks to
43 filterfalse.
44
41 45 0.7.4b to 0.7.5-beta 0.7.4b to 0.7.5-beta
42 46
43 47 Added Gentoo ebuild. Thanks to Oleg Gordienko (a.k.a. gordio). Added Gentoo ebuild. Thanks to Oleg Gordienko (a.k.a. gordio).
File src/commands.c changed (mode: 100644) (index 436fdaf46..c66526c7e)
... ... help_cmd(const cmd_info_t *cmd_info)
2262 2262 } }
2263 2263 else else
2264 2264 { {
2265 #ifndef _WIN32
2266 char *escaped;
2267 #endif
2268
2265 2269 if(cmd_info->argc != 0) if(cmd_info->argc != 0)
2266 2270 { {
2267 2271 status_bar_error("No arguments are allowed when 'vimhelp' option is off"); status_bar_error("No arguments are allowed when 'vimhelp' option is off");
 
... ... help_cmd(const cmd_info_t *cmd_info)
2270 2274
2271 2275 if(!path_exists_at(cfg.config_dir, VIFM_HELP)) if(!path_exists_at(cfg.config_dir, VIFM_HELP))
2272 2276 { {
2273 show_error_msgf("No help file",
2274 "Can't find \"%s/" VIFM_HELP "\" file", cfg.config_dir);
2277 show_error_msgf("No help file", "Can't find \"%s/" VIFM_HELP "\" file",
2278 cfg.config_dir);
2275 2279 return 0; return 0;
2276 2280 } }
2277 2281
2278 snprintf(buf, sizeof(buf), "%s %s/" VIFM_HELP, get_vicmd(&bg),
2282 #ifndef _WIN32
2283 escaped = escape_filename(cfg.config_dir, 0);
2284 snprintf(buf, sizeof(buf), "%s %s/" VIFM_HELP, get_vicmd(&bg), escaped);
2285 free(escaped);
2286 #else
2287 snprintf(buf, sizeof(buf), "%s \"%s/" VIFM_HELP "\"", get_vicmd(&bg),
2279 2288 cfg.config_dir); cfg.config_dir);
2289 #endif
2280 2290 } }
2281 2291
2282 2292 if(bg) if(bg)
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