mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:48:00 +01:00
new :winclose command
This commit is contained in:
1
NEWS
1
NEWS
@@ -2,6 +2,7 @@
|
|||||||
2007-xx-xx:
|
2007-xx-xx:
|
||||||
* version 0.6
|
* version 0.6
|
||||||
* THIS VERSION ONLY WORKS WITH FIREFOX 3.0
|
* THIS VERSION ONLY WORKS WITH FIREFOX 3.0
|
||||||
|
* new :winclose command
|
||||||
* :q doesn't close the whole browser, if there are more than one windows
|
* :q doesn't close the whole browser, if there are more than one windows
|
||||||
* new gb and gB mappings to repeat the last :buffer[!] command,
|
* new gb and gB mappings to repeat the last :buffer[!] command,
|
||||||
* :ls, :history and :bmarks output is now hyperlinked
|
* :ls, :history and :bmarks output is now hyperlinked
|
||||||
|
|||||||
3
TODO
3
TODO
@@ -15,7 +15,6 @@ BUGS:
|
|||||||
- :noremap does not work fully
|
- :noremap does not work fully
|
||||||
- pvh option not working
|
- pvh option not working
|
||||||
- searching backwards incrementally does not work i.e. with 'incsearch' set
|
- searching backwards incrementally does not work i.e. with 'incsearch' set
|
||||||
- :q should not close firefox, if there are more than 1 window
|
|
||||||
|
|
||||||
FEATURES:
|
FEATURES:
|
||||||
9 :command for new commands
|
9 :command for new commands
|
||||||
@@ -25,6 +24,7 @@ FEATURES:
|
|||||||
7 use ctrl-n/p in insert mode for word completion
|
7 use ctrl-n/p in insert mode for word completion
|
||||||
7 [ctrl-o/i] to Go back to a Previous Position (done partly, however currenty does not use a per tab jumplist)
|
7 [ctrl-o/i] to Go back to a Previous Position (done partly, however currenty does not use a per tab jumplist)
|
||||||
7 whereever possible: get rid of dialogs and ask console-like dialog questions or write error prompts directly on the webpage or with :echo()
|
7 whereever possible: get rid of dialogs and ask console-like dialog questions or write error prompts directly on the webpage or with :echo()
|
||||||
|
7 :set! should also set about:config options (with autocomplete)
|
||||||
6 use '' to jump between marks like vim
|
6 use '' to jump between marks like vim
|
||||||
6 downloading of links to filesystem (:save <filename>)
|
6 downloading of links to filesystem (:save <filename>)
|
||||||
6 autocommands (BrowserStart, BrowserQuit, TabClose, TabOpen, TabChanged, PageLoaded, any more?)
|
6 autocommands (BrowserStart, BrowserQuit, TabClose, TabOpen, TabChanged, PageLoaded, any more?)
|
||||||
@@ -39,7 +39,6 @@ FEATURES:
|
|||||||
4 Support multiple top-level windows?
|
4 Support multiple top-level windows?
|
||||||
3 Splitting Windows with [:sp :vsp ctrl-w,s ctrl-w,v] and closing with [ctrl-w,q], moving with [ctrl-w,w or tab]
|
3 Splitting Windows with [:sp :vsp ctrl-w,s ctrl-w,v] and closing with [ctrl-w,q], moving with [ctrl-w,w or tab]
|
||||||
have a look into the split browser extension
|
have a look into the split browser extension
|
||||||
3 :set! should also set about:config options (with autocomplete)
|
|
||||||
- many other ideas are listed in the wiki
|
- many other ideas are listed in the wiki
|
||||||
|
|
||||||
RANDOM IDEAS:
|
RANDOM IDEAS:
|
||||||
|
|||||||
@@ -1948,6 +1948,16 @@ function Commands() //{{{
|
|||||||
short_help: "Show help for normal mode commands"
|
short_help: "Show help for normal mode commands"
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
addDefaultCommand(new Command(["winc[lose]", "wc[lose]"],
|
||||||
|
function(args)
|
||||||
|
{
|
||||||
|
window.close();
|
||||||
|
},
|
||||||
|
{
|
||||||
|
usage: ["winc[ose] [url] [, url]"],
|
||||||
|
short_help: "Close window",
|
||||||
|
}
|
||||||
|
));
|
||||||
addDefaultCommand(new Command(["wino[pen]", "wo[pen]", "wine[dit]"],
|
addDefaultCommand(new Command(["wino[pen]", "wo[pen]", "wine[dit]"],
|
||||||
function(args)
|
function(args)
|
||||||
{
|
{
|
||||||
@@ -1959,7 +1969,7 @@ function Commands() //{{{
|
|||||||
{
|
{
|
||||||
usage: ["wino[pen] [url] [, url]"],
|
usage: ["wino[pen] [url] [, url]"],
|
||||||
short_help: "Open one or more URLs in a new window",
|
short_help: "Open one or more URLs in a new window",
|
||||||
help: "NOTE: Multiple windows are not really supported by Vimperator, use at your own risk!"
|
help: "Like <code class=\"command\">:open</code> but open URLs in a new window.<br/>"
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
addDefaultCommand(new Command(["wqa[ll]", "wq", "xa[ll]"],
|
addDefaultCommand(new Command(["wqa[ll]", "wq", "xa[ll]"],
|
||||||
|
|||||||
Reference in New Issue
Block a user