Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Is it possible to provide a variable like vim does to set which characters should be recognized as filename which determines the jump target of the gf command?

Open BLANK2077 opened this issue 3 years ago • 0 comments

In vim, there is a variable called isfname that can be set to determine which characters are recognized as filenames which determines the jump target of the gf command

When I use vim, I usually set isfname like this

set isfname +={,}
set isfanme -=,

The first line allows my vim to recognize the environment variable, and the second line excludes ",", so that in my log file, I can avoid jumping because it recognizes the "," after the file name. "," is printed by the software I use and cannot be changed.

If vscode-vim can provide similar settings, it can make the gf command more powerful

BLANK2077 avatar Jul 15 '22 16:07 BLANK2077