-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user customization of termpath #25
Comments
@Konfekt I can make the condition more precise so that it correctly falls through to the second clause.
So it works, except for an unnecessary
Configuration defeats the purpose of the plugin :) |
Yes, it works without gtfo`s utility lies in providing defaults for spawning a terminal or file manager in any os from VIM. However if the user decides to spawn in a particular OS its customized terminal or file manager, gtfo should not interfere. This is why, in case the user provides such a customization, the check for I think better would be do add an variable
and allow for a wildcard in the user customized If this sounds sane, I'd offer to implement this in a pull request. |
Dear Justin, the lines
are insufficient to deal with user customized termpath variables.
For example, I wanted gtfo to set up such that it uses mintty of msys2 and
would invoke the first case of the above if clause but the above command already takes care of the
cd
command. Wrapping the above command in a bat, so that gtfo does not detect thebash
string, still leaves the unnecessary cd command.Perhaps the way to go is to allow the user to specify all the parameters passed to the terminal AND their order by a wildcards for the path such as
@PATH
.That is, something like
or
The text was updated successfully, but these errors were encountered: