File data/vifm.1 changed (mode: 100644) (index f512fba71..32b90e5a1) |
1 |
|
.TH vifm 1 "June 12, 2012" "" "Vifm" |
|
|
1 |
|
.TH vifm 1 "June 23, 2012" "" "Vifm" |
2 |
2 |
.\" --------------------------------------------------------------------------- |
.\" --------------------------------------------------------------------------- |
3 |
3 |
.SH NAME |
.SH NAME |
4 |
4 |
.\" --------------------------------------------------------------------------- |
.\" --------------------------------------------------------------------------- |
|
... |
... |
will set search pattern. |
905 |
905 |
will set file name filter. |
will set file name filter. |
906 |
906 |
.TP |
.TP |
907 |
907 |
.BI ":com[mand] cmd :commands" |
.BI ":com[mand] cmd :commands" |
908 |
|
will set kind of alias for internal command (like in a shell). |
|
|
908 |
|
will set kind of alias for internal command (like in a shell). Will pass range |
|
909 |
|
given to alias to an aliased command, so running :%cp after |
|
910 |
|
:command cp :copy %a |
|
911 |
|
.br |
|
912 |
|
equals |
|
913 |
|
:%copy |
|
914 |
|
.EE |
909 |
915 |
.TP |
.TP |
910 |
916 |
.BI ":[range]co[py][!?][ &]" |
.BI ":[range]co[py][!?][ &]" |
911 |
917 |
copies files to directory of other view. With "?" vifm will open vi to edit |
copies files to directory of other view. With "?" vifm will open vi to edit |
File data/vim/doc/vifm.txt changed (mode: 100644) (index 7e01cc825..e6512db3c) |
1 |
|
*vifm.txt* For Vifm version 0.7.3 Last change: 2012 Jun 12 |
|
|
1 |
|
*vifm.txt* For Vifm version 0.7.3 Last change: 2012 Jun 23 |
2 |
2 |
|
|
3 |
3 |
Email for bugs and suggestions: <xaizek@lavabit.com> |
Email for bugs and suggestions: <xaizek@lavabit.com> |
4 |
4 |
|
|
|
... |
... |
The builtin commands are: |
792 |
792 |
:com[mand] backup /pattern - will set search pattern. |
:com[mand] backup /pattern - will set search pattern. |
793 |
793 |
:com[mand] name filter pattern - will set file name filter. |
:com[mand] name filter pattern - will set file name filter. |
794 |
794 |
:com[mand] cmd :commands - will set kind of alias for internal command (like |
:com[mand] cmd :commands - will set kind of alias for internal command (like |
795 |
|
in a shell). |
|
|
795 |
|
in a shell). Will pass range given to alias to an aliased command, so |
|
796 |
|
running :%cp after > |
|
797 |
|
:command cp :copy %a |
|
798 |
|
< equals > |
|
799 |
|
:%copy |
796 |
800 |
|
|
797 |
801 |
*vifm-:copy* *vifm-:co* |
*vifm-:copy* *vifm-:co* |
798 |
802 |
:[range]co[py][!?][ &] - copies files to directory of other view. With |
:[range]co[py][!?][ &] - copies files to directory of other view. With |
File src/commands.c changed (mode: 100644) (index 74c367203..c37ac911a) |
... |
... |
usercmd_cmd(const cmd_info_t *cmd_info) |
3413 |
3413 |
if(len > 1) |
if(len > 1) |
3414 |
3414 |
bg = expanded_com[len - 1] == '&' && expanded_com[len - 2] == ' '; |
bg = expanded_com[len - 1] == '&' && expanded_com[len - 2] == ' '; |
3415 |
3415 |
|
|
3416 |
|
clean_selected_files(curr_view); |
|
3417 |
|
|
|
3418 |
3416 |
if(expanded_com[0] == ':') |
if(expanded_com[0] == ':') |
3419 |
3417 |
{ |
{ |
3420 |
3418 |
int sm = exec_commands(expanded_com, curr_view, GET_COMMAND); |
int sm = exec_commands(expanded_com, curr_view, GET_COMMAND); |
3421 |
3419 |
free(expanded_com); |
free(expanded_com); |
3422 |
3420 |
return sm; |
return sm; |
3423 |
3421 |
} |
} |
3424 |
|
else if(flags == MACRO_STATUSBAR_OUTPUT) |
|
|
3422 |
|
|
|
3423 |
|
clean_selected_files(curr_view); |
|
3424 |
|
|
|
3425 |
|
if(flags == MACRO_STATUSBAR_OUTPUT) |
3425 |
3426 |
{ |
{ |
3426 |
3427 |
output_to_statusbar(expanded_com); |
output_to_statusbar(expanded_com); |
3427 |
3428 |
free(expanded_com); |
free(expanded_com); |