Mercurial > vim
diff runtime/doc/windows.txt @ 6421:5d89d9b40499
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 06 Dec 2014 23:33:00 +0100 |
parents | 77fe94082f53 |
children | a88d4dc02bf4 |
line wrap: on
line diff
--- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 7.4. Last change: 2014 Sep 23 +*windows.txt* For Vim version 7.4. Last change: 2014 Dec 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -278,16 +278,17 @@ CTRL-W CTRL-Q *CTRL-W_CTRL-Q* and there is only one window for the current buffer, and the buffer was changed, the command fails. - (Note: CTRL-Q does not - work on all terminals). If [count] is greater than - the last window number the last window will be closed: > + (Note: CTRL-Q does not work on all terminals). + + If [count] is greater than the last window number the last + window will be closed: > :1quit " quit the first window :$quit " quit the last window :9quit " quit the last window " if there are less than 9 windows opened :-quit " quit the previews window :+quit " quit the next window - :+2quit " will also work as expected + :+2quit " quit the second next window < :q[uit]! :{count}q[uit]! @@ -332,9 +333,9 @@ CTRL-W CTRL-C *CTRL-W_CTRL-C* screen. For {count} see |:quit| command. The buffer becomes hidden (unless there is another window - editing it or 'bufhidden' is "unload" or "delete"). If the - window is the last one in the current tab page the tab page is - closed. |tab-page| + editing it or 'bufhidden' is "unload", "delete" or "wipe"). + If the window is the last one in the current tab page the tab + page is closed. |tab-page| The value of 'hidden' is irrelevant for this command. Changes to the buffer are not written and won't get lost, so this is a