From a3ccb616e6fc8c88cf7ffcd079dab76655bcc002 Mon Sep 17 00:00:00 2001 From: nfnty Date: Thu, 9 Feb 2017 00:15:26 +0100 Subject: commands: Add `quitall!`, Change behavior of `quit!` Fixes #802 --- doc/ranger.1 | 16 +++++++++------- doc/ranger.pod | 15 +++++++++------ doc/rifle.1 | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 1cb2d8ed..1d709719 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.8.1" "2017-02-08" "ranger manual" +.TH RANGER 1 "ranger-1.8.1" "2017-02-09" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -938,6 +938,7 @@ ranger. For your convenience, this is a list of the \*(L"public\*(R" commands i \& quit \& quit! \& quitall +\& quitall! \& relink newpath \& rename_append [\-FLAGS...] \& rename newname @@ -1171,17 +1172,18 @@ a row. Removes key mappings of the pager. Works like the \f(CW\*(C`unmap\*(C'\fR command. .IP "quit" 2 .IX Item "quit" -If only one tab is currently open and no tasks are running, quit ranger. If -multiple tabs are open, only close this tab. The current directory will be -bookmarked as ' so you can re-enter it by typing `` or '' the next time you +Closes the current tab, if there's only one tab. Otherwise quits if there are no tasks in progress. +The current directory will be bookmarked as ' so you can re-enter it by typing `` or '' the next time you start ranger. .IP "quit!" 2 .IX Item "quit!" -Force quit ranger, even if tasks are running. The current directory will still -be bookmarked similarly to \f(CW\*(C`quit\*(C'\fR. +Like \f(CW\*(C`quit\*(C'\fR, except will force quit even if tasks are in progress. .IP "quitall" 2 .IX Item "quitall" -Like \f(CW\*(C`quit\*(C'\fR, will close ranger even if multiple tabs are open. +Like \f(CW\*(C`quit\*(C'\fR, except will quit even if multiple tabs are open. +.IP "quitall!" 2 +.IX Item "quitall!" +Like \f(CW\*(C`quitall\*(C'\fR, except will force quit even if tasks are in progress. .IP "relink \fInewpath\fR" 2 .IX Item "relink newpath" Change the link destination of the current symlink file to . First diff --git a/doc/ranger.pod b/doc/ranger.pod index 8a783094..8b02ee63 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -959,6 +959,7 @@ ranger. For your convenience, this is a list of the "public" commands including quit quit! quitall + quitall! relink newpath rename_append [-FLAGS...] rename newname @@ -1225,19 +1226,21 @@ Removes key mappings of the pager. Works like the C command. =item quit -If only one tab is currently open and no tasks are running, quit ranger. If -multiple tabs are open, only close this tab. The current directory will be -bookmarked as ' so you can re-enter it by typing `` or '' the next time you +Closes the current tab, if there's only one tab. Otherwise quits if there are no tasks in progress. +The current directory will be bookmarked as ' so you can re-enter it by typing `` or '' the next time you start ranger. =item quit! -Force quit ranger, even if tasks are running. The current directory will still -be bookmarked similarly to C. +Like C, except will force quit even if tasks are in progress. =item quitall -Like C, will close ranger even if multiple tabs are open. +Like C, except will quit even if multiple tabs are open. + +=item quitall! + +Like C, except will force quit even if tasks are in progress. =item relink I diff --git a/doc/rifle.1 b/doc/rifle.1 index b61423e7..3c97c771 100644 --- a/doc/rifle.1 +++ b/doc/rifle.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RIFLE 1" -.TH RIFLE 1 "rifle-1.8.1" "2017-02-08" "rifle manual" +.TH RIFLE 1 "rifle-1.8.1" "2017-02-09" "rifle manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l -- cgit 1.4.1-2-gfad0