1
0
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:
Martin Stubenschrott
2007-11-22 20:00:46 +00:00
parent a09691d658
commit 794e80c1a8
6 changed files with 91 additions and 40 deletions

View File

@@ -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;