mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:37:58 +01:00
* merged ctrl-x/a commands
* fixes for file:/ handling * fixed gu and gU
This commit is contained in:
@@ -173,7 +173,7 @@ vimperator.IO = function () //{{{
|
||||
if (!/^(file:|[a-zA-Z]:|\/)/.test(path)) // starts not with either /, C: or file:
|
||||
path = this.getCurrentDirectory() + (WINDOWS ? "\\" : "/") + path; // TODO: for now homedir, later relative to current dir?
|
||||
else
|
||||
path = path.replace(/^file:/, "");
|
||||
path = path.replace(/^file:(\/\/)?/, "");
|
||||
|
||||
file.initWithPath(path);
|
||||
return file;
|
||||
|
||||
Reference in New Issue
Block a user