Shift-F4 vs. F4

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
pafal
Junior Member
Junior Member
Posts: 6
Joined: 2003-10-25, 22:18 UTC

Shift-F4 vs. F4

Post by *pafal »

Why please Shift-F4 don't pass full path/filename to commandline?
F4 on file "args.c" (in c:\work\gcc\args\ directory) calls:
/path/to/editor/editor.exe c:\work\gcc\args\args.c

but Shift-F4 on the same (or new) file calls:
/path/to/editor/editor.exe argc.c

When using gvim for files editing, F4 works fine, but for Shift-F4 gvim don't reads plugins and fstypes (maybe gvim issue). Only one difference between F4 and Shift-F4 commandline call is the path.

Thanks for explaining.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3869
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Shift-F4 means :
Create a new file at current folder and use the selected filename as name template.

Inside a plugin, the F4 is handled internally and interpreted as an "Call the editor" event.

Shift-F4 is not handled by any plugin.

Hope it is more clear now ...
#5767 Personal license
oblomov
Junior Member
Junior Member
Posts: 98
Joined: 2003-04-04, 15:41 UTC

Post by *oblomov »

My gVim (6.2) loads fsplugin just fine even for files I just created with S+F4.
Post Reply